OSDN Git Service

bfd/
authorjkratoch <jkratoch>
Wed, 17 Sep 2008 07:50:28 +0000 (07:50 +0000)
committerjkratoch <jkratoch>
Wed, 17 Sep 2008 07:50:28 +0000 (07:50 +0000)
commit7003bf0a1647909435c3ee64f4308232bd7417c5
tree8bedd9a44f5445fe608376b64b1f70884537b7a8
parentdb8c58a7b348c1da82df8ebbd1bb47149d010091
bfd/
PR 6893 - Do not consider FDEs for discarded sections as invalid.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): New REQUIRE_CLEARED_RELOCS.
Consider FDEs with cleared relocations as valid and ignorable.

ld/testsuite/
* ld-elf/eh-group.exp, ld-elf/eh-group1.s, ld-elf/eh-group2.s: New test.

binutils/
Suppress warnings on NONE relocations to discarded sections.
* readelf.c (is_none_reloc): New function.
(debug_apply_relocations): Ignore is_none_reloc() relocations.
bfd/ChangeLog
bfd/elf-eh-frame.c
binutils/ChangeLog
binutils/readelf.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/eh-group.exp [new file with mode: 0644]
ld/testsuite/ld-elf/eh-group1.s [new file with mode: 0644]
ld/testsuite/ld-elf/eh-group2.s [new file with mode: 0644]