bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27390] [readelf] Support DW_FORM_strx1 and DW_FORM_addrx


From: vries at gcc dot gnu.org
Subject: [Bug binutils/27390] [readelf] Support DW_FORM_strx1 and DW_FORM_addrx
Date: Wed, 10 Feb 2021 16:47:21 +0000

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

--- Comment #4 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #2)
> Created attachment 13216 [details]
> Tentative patch

FWIW, doesn't work yet with split dwarf.  The DW_AT_addr_base is defined in the
skeleton CU, and the DW_FORM_addrx uses are in the split CU, and readelf
doesn't manage to figure out that those go together.

Currently we end up with:
...
    <4b>   DW_AT_low_pc      : (addr_index: 0x0): <no .debug_addr section>
...
so it looks like it doesn't even realize that the .debug_addr in a.out should
be used for hello.dwo.

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