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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to