summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-elf/eh-group2.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elf/eh-group2.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-elf/eh-group2.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elf/eh-group2.s b/binutils-2.21/ld/testsuite/ld-elf/eh-group2.s
new file mode 100644
index 0000000..49b59de
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-elf/eh-group2.s
@@ -0,0 +1,15 @@
+ .section sect, "axG", %progbits, sectgroup, comdat
+ .cfi_startproc
+# Test intention is that LSDA must be provided by the discarded FDE.
+# DW_EH_PE_udata8 = 4
+# DW_EH_PE_udata4 = 3
+ .ifdef ELF64
+ .cfi_lsda 4, lsda
+ .else
+ .cfi_lsda 3, lsda
+ .endif
+ .skip 16
+ .cfi_endproc
+
+ .section .gcc_except_table, "a", %progbits
+lsda: