bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/26808] [2.36 Regression] readelf: Warning: DIE at offset 0


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/26808] [2.36 Regression] readelf: Warning: DIE at offset 0x232 refers to abbreviation number 77 which does not exist
Date: Mon, 16 Nov 2020 19:54:20 +0000

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

--- Comment #14 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_35-branch branch has been updated by Mark Wielaard
<mark@sourceware.org>:

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

commit 56cd748924ab24d64a87ae65bafc84f112b720c2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Oct 29 09:19:25 2020 -0700

    dwarf: Also match abbrev base when searching abbrev list

    A .debug_abbrev section can have multiple CUs.  When caching abbrev list,
    we need to check abbrev base to support multiple CUs.

            PR binutils/26808
            * dwarf.c (abbrev_list): Add abbrev_base.
            (new_abbrev_list): Add an abbrev_base argument and record it.
            (find_abbrev_list_by_abbrev_offset): Add an abbrev_base argument
            and match it.
            (process_debug_info): Pass abbrev_base to new_abbrev_list and
            find_abbrev_list_by_abbrev_offset.
            (display_debug_abbrev): Pass 0 abbrev_base to new_abbrev_list
            and find_abbrev_list_by_abbrev_offset.
            * testsuite/binutils-all/x86-64/pr26808.dump: New file.
            * testsuite/binutils-all/x86-64/pr26808.dwp.bz2: Likewise.
            * testsuite/binutils-all/x86-64/x86-64.exp: Run PR binutils/26808
            test.

    (cherry picked from commit 76868f3606fb9de04f49c441c1e3cdd3e943a34d)

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