[Bug general/27367] readelf: invalid loclists data with -ffat-lto-objects

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Nov 9 18:17:25 GMT 2021


Mark Wielaard <mark at klomp dot org> changed:

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

--- Comment #8 from Mark Wielaard <mark at klomp dot org> ---
commit 5b21e70216b853065fa2fef34273db5f7dcdc88b
Author: Mark Wielaard <mark@klomp.org>
Date:   Mon Nov 8 09:27:51 2021 +0100

    libdw: dwarf_elf_begin should use either plain, dwo or lto DWARF sections.

    When opening an ELF file that contained a mix of plain, dwo or lto .debug
    sections the result could be confusing. Add a check to pick just the plain
    .debug sections, or the .dwo sections or the .gnu.debuglto_.debug sections
    (in that order of preference). That way there is always a consistent set.


    Signed-off-by: Mark Wielaard <mark@klomp.org>

Opened a new bug for having a new interface to open any (plain, dwo, lto)
subset if multiple are found in the same file:

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

More information about the Elfutils-devel mailing list