[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6893] Partial linking results in corrupt .eh_frame_hdr
From: |
jan dot kratochvil at redhat dot com |
Subject: |
[Bug ld/6893] Partial linking results in corrupt .eh_frame_hdr |
Date: |
17 Sep 2008 07:58:32 -0000 |
------- Additional Comments From jan dot kratochvil at redhat dot com
2008-09-17 07:58 -------
Committed the attached patch:
http://sourceware.org/ml/binutils-cvs/2008-09/msg00089.html
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.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=6893
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.