bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/18152] [2.26 Regression] internal error in do_relocate_section


From: hjl.tools at gmail dot com
Subject: [Bug gold/18152] [2.26 Regression] internal error in do_relocate_sections, at gold/reloc.cc:953
Date: Fri, 20 Mar 2015 15:41:03 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18152

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.26

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
It was caused by

commit e16631979e847a6b39db3435bea7708b9f34b36d
Author: Cary Coutant <address@hidden>
Date:   Mon Mar 9 10:10:29 2015 -0700

    Fix failure in exception_static_test.

    Because the __EH_FRAME_BEGIN__ symbol is provided in an empty .eh_frame
    section in crtbeginT.o, if crt1.o has a non-empty .eh_frame section,
    we place all optimized .eh_frame sections into the output section ahead
    of the __EH_FRAME_BEGIN__ symbol, which breaks EH for statically-linked
    binaries.

    This patch fixes the problem by delaying the attachment of the optimized
    .eh_frame sections to the output section until we see the end marker
    section (or to the end of pass 1 if we never see an end marker).

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]