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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to