bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24818] objdump -W resolves indirect strings incorrectly (a


From: nickc at redhat dot com
Subject: [Bug binutils/24818] objdump -W resolves indirect strings incorrectly (all as offset 0x0) since 39f0547e554d
Date: Tue, 23 Jul 2019 16:26:47 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-07-23
     Ever confirmed|0                           |1

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Andres,

  This is an interesting one.  It turns out that the problem is only with
  objdump, and not with readelf, despite the fact that they share the
  DWARF dumping code.  Also the problem only happens with object files,
  not with fully linked binaries.

  The cause turns out to be that when link following is enabled, objdump
  pre-loads some of the debug sections, including the .debug_info section.
  But - it does so without processing the relocations against the debug_info
  section, so the values in those fields are all zero...

  I have a patch in hand locally which I am testing now.  More to follow.

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]