aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/eh-group2.s
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-02-01 12:05:25 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-02-01 12:05:25 +0000
commit273f4430f86503a7e746f8710c6165f794a360bd (patch)
treefc71715af5f5de20016d4a6f74e668c8dbf46734 /ld/testsuite/ld-elf/eh-group2.s
parent88a0e15ba8649517e8e0ee6bfaa2de668b167068 (diff)
downloadgdb-273f4430f86503a7e746f8710c6165f794a360bd.zip
gdb-273f4430f86503a7e746f8710c6165f794a360bd.tar.gz
gdb-273f4430f86503a7e746f8710c6165f794a360bd.tar.bz2
bfd/
* elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. ld/testsuite/ * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'. * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
Diffstat (limited to 'ld/testsuite/ld-elf/eh-group2.s')
-rw-r--r--ld/testsuite/ld-elf/eh-group2.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/eh-group2.s b/ld/testsuite/ld-elf/eh-group2.s
index 2ec8919..49b59de 100644
--- a/ld/testsuite/ld-elf/eh-group2.s
+++ b/ld/testsuite/ld-elf/eh-group2.s
@@ -1,4 +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: