]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-elf/eh-group2.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / testsuite / ld-elf / eh-group2.s
diff --git a/ld/testsuite/ld-elf/eh-group2.s b/ld/testsuite/ld-elf/eh-group2.s
new file mode 100644 (file)
index 0000000..49b59de
--- /dev/null
@@ -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: