old-cross-binutils/ld/testsuite/ld-elf/eh-group2.s
Jan Kratochvil 273f4430f8 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'.
2009-02-01 12:05:25 +00:00

15 lines
324 B
ArmAsm

.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: