OSDN Git Service

bfd/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Sep 2008 07:50:28 +0000 (07:50 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Sep 2008 07:50:28 +0000 (07:50 +0000)
commit1dbe3a3976a4cd2cfa4cd8adefd89c4ad1895e46
tree81e2932353ba3e64d437c342a70345a506fb76d5
parent302a7ca07f42bd83dedddfd1c1cf29fa7dfc54c3
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