bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27370] [readelf] warning when processing abbrev with DW_FO


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/27370] [readelf] warning when processing abbrev with DW_FORM_ref_sig8
Date: Tue, 09 Feb 2021 14:37:27 +0000

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

--- Comment #3 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=5f128a25f235195d1970ec07aec57004dfb90237

commit 5f128a25f235195d1970ec07aec57004dfb90237
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Feb 9 15:37:24 2021 +0100

    [binutils] Handle DW_FORM_ref_sig8 in get_type_abbrev_from_form

    When compiling an exec like this:
    ...
    $ gcc -fdebug-types-section hello.c -gdwarf-5
    ...
    we run into:
    ...
    $ readelf -w a.out > READELF
    readelf: Warning: Unexpected form 20 encountered whilst finding \
      abbreviation for type
    ...

    Fix this by handling DW_FORM_ref_sig8 conservatively in
    get_type_abbrev_from_form.

    binutils/ChangeLog:

    2021-02-09  Tom de Vries  <tdevries@suse.de>

            PR binutils/27370
            * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.

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