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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 8316
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8316&action=edit
Detect relocs against addresses in .debug_loc sections

Hi H.J.

  The problem here is that the although readelf has processed the relocs
against the .debug_loc section, the processed values are not valid.  (The
reolcs involved were offsets from the .text section symbol, but since the
section has not been placed into memory yet, the relocs were resolving to
zero).

  The uploaded patch fixes the problem by refusing to accept an end-of-list
pair of addresses when relocs exist against them.  Do you have any comments on
the patch before I apply it ?

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