bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30835] [readelf] Incorrect warning with .gnu_debugaltlink


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/30835] [readelf] Incorrect warning with .gnu_debugaltlink (.debug_info offset in .debug_aranges section does not point to a CU header)
Date: Fri, 08 Sep 2023 10:27:18 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

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

commit 7f49a8c074271efcf7930f4a476927155170a3d1
Author: Tom de Vries <tdevries@suse.de>
Date:   Fri Sep 8 12:27:02 2023 +0200

    [gdb/testsuite] Add aranges in gdb.dwarf2/dwzbuildid.exp

    While investigating the execs of gdb.dwarf2/dwzbuildid.exp using readelf I
ran
    into a warning:
    ...
    $ readelf -w dwzbuildid-ok > READELF
    readelf: Warning: .debug_info offset of 0x2e in .debug_aranges section does
not
    point to a CU header.
    ...

    AFAICT, the warning is incorrect, I've filed PR binutils/30835 about that.

    While looking at the .debug_aranges section, I noticed that the entries for
    the CUs generated by the dwarf assembler are missing.

    Fix this by adding the missing .debug_aranges entries.

    Tested on x86_64-linux.

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