bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/18374] readelf fails to dump debug_loc


From: nickc at redhat dot com
Subject: [Bug binutils/18374] readelf fails to dump debug_loc
Date: Thu, 14 May 2015 16:08:46 +0000

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.



reply via email to

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