gold patch committed: Don't check discarded deferred .eh_frame section
Ian Lance Taylor
iant@google.com
Thu Apr 4 16:49:00 GMT 2013
The code that handles deferred .eh_frame sections when using a plugin
had a bug: it checked whether the section was included in the link
before doing the .eh_frame handling. Unfortunately, the check for an
included section always indicates that a .eh_frame section is not
included, because .eh_frame sections are handled specially. This led to
http://gcc.gnu.org/PR56840 , in which .eh_frame sections in archives are
discarded inappropriately.
This patch fixes the problem. Committed to mainline.
Ian
2013-04-04 Ian Lance Taylor <iant@google.com>
GCC PR c++/56840
* object.cc (do_layout_deferred_sections): Handle .eh_frame
sections before checking whether they are included in the link.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 2275 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20130404/557812f4/attachment.bin>
More information about the Binutils
mailing list