[Bug tools/28928] Wrong dynamic section entry number

mark at klomp dot org sourceware-bugzilla@sourceware.org
Fri Apr 15 15:22:45 GMT 2022


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14042|0                           |1
        is obsolete|                            |
                 CC|                            |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Created attachment 14064
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14064&action=edit
readelf: Don't consider padding DT_NULL as dynamic section

Good find. And binutils readelf does get this right.

I see you made this block PR28873. And you are right that we should first get
this correct before doing the the -D dance going through the dynamic segment
showing information.

But for -d we don't have to go through the phdrs and the dynamic segment, we
can just use the section data directly.

I made that adjustment and added some ChangeLog entries.
See attached and at:
https://code.wildebeest.org/git/user/mjw/elfutils/commit/?h=pr14042

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list