[Bug tools/28928] Wrong dynamic section entry number

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Apr 19 08:18:08 GMT 2022


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
Thanks. Pushed as:

commit 5b497d8da4920bf7b63a4aa3752cf580b3ad654c (HEAD -> master)
Author: Di Chen <dichen@redhat.com>
Date:   Tue Mar 1 20:44:38 2022 +0800

    readelf: Don't consider padding DT_NULL as dynamic section entry

    when using `$ eu-readelf -d {FILE}` to get the number of dynamic
    section entris, it wrongly counts the padding DT_NULLs as dynamic
    section entries. However, DT_NULL Marks end of dynamic section.
    They should not be considered as dynamic section entries.

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

    Signed-off-by: Di Chen <dichen@redhat.com>

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


More information about the Elfutils-devel mailing list