bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28459] Readelf issues bogus warning


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/28459] Readelf issues bogus warning
Date: Sun, 17 Oct 2021 11:48:50 +0000

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

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_37-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=61b08178e4cafca911bf909f54f8c373f16f0a70

commit 61b08178e4cafca911bf909f54f8c373f16f0a70
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Oct 17 17:34:46 2021 +1030

    PR28459, readelf issues bogus warning

    I'd missed the fact that the .debug_rnglists dump doesn't exactly
    display the contents of the section.  Instead readelf rummages through
    .debug_info looking for DW_AT_ranges entries, then displays the
    entries in .debug_rnglists pointed at, sorted.  A simpler dump of the
    actual section contents might be more useful and robust, but it was
    likely done that way to detect overlap and holes.

    Anyway, the headers in .debug_rnglists besides the first are ignored,
    and limiting to the unit length of the first header fails if there is
    more than one unit.

            PR 28459
            * dwarf.c (display_debug_ranges): Don't constrain data to length
            in header.

    (cherry picked from commit e7f024765a48fba4452535a5fc006a7e858730fd)

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