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: hjl.tools at gmail dot com
Subject: [Bug binutils/18374] readelf fails to dump debug_loc
Date: Thu, 14 May 2015 16:11:45 +0000

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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Nick Clifton from comment #1)
> Created attachment 8316 [details]
> 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 ?

Can you extract/add a testcase from this bug report? Thanks.

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