bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/16563] Corrupt .eh-frame section created when linking LTO and no


From: nickc at redhat dot com
Subject: [Bug ld/16563] Corrupt .eh-frame section created when linking LTO and non-LTO objects
Date: Fri, 15 Aug 2014 13:39:13 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Nick Clifton <nickc at redhat dot com> ---
Hi Alan,

  Thanks for the patch - it does indeed solve the problem.

  I believe however that readelf is/was correct in saying the CIE pointer was
invalid.  These pointers are offsets into the .debug_frame section of the CIE
entry to be used by the FDE that is being decoded.  But the offsets can never
be negative (ie pointing to before the start of .debug_frame), so readelf was
correct to complain with this particular testcase.

  You are correct however in saying that readelf does have a potential bug - it
will complain about FDEs that reference a CIE that is defined later on in the
.debug_frame section.  But I have never yet seen a binary that does this.  When
one turns up I will fix readelf. :-)

Cheers
  Nick

-- 
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]