]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
bfd/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Sep 2008 07:50:29 +0000 (07:50 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 17 Sep 2008 07:50:29 +0000 (07:50 +0000)
commit2a7b2e88e38cbd83225e9c3b28a990de56dccef7
tree5a8ae06b9f452694184c05f9b9576ccc36c6266a
parent32649b97b910a25743777a9ef0c7ba2a0bae3e35
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]