[PATCH 8/9] Fix the decoding of DW_FORM_ref_addr DWARF attribute.

Mark Wielaard mark@klomp.org
Mon Nov 16 10:50:58 GMT 2020


On Sun, 2020-11-15 at 14:57 -0800, H.J. Lu wrote:
> On Sun, Nov 15, 2020 at 2:47 PM Mark Wielaard <mark@klomp.org> wrote:
> > I believe that only affects dwp (DWARF Packaging) files and none of the
> > tools I am testing handles dwp files (yet).
> > 
> > The patch looks correct though, so I certainly don't mind it being
> > backported. It seems a useful bugfix.
> 
> I ran into it in gold testsuite on master.   Have you enabled gold
> with your backports?

Oops. Indeed I didn't have gold enabled. The gold testsuite requires
glibc-static to be installed, which I didn't have on my machine.
Installing it now, enabling gold and retesting shows I missed two
commits (including yours) to get a clean build/test as attached.
Both are now also on my binutils-2_35-branch-dwarf branch.

Thanks,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Re-Sync-libiberty-and-include-with-GCC-for-get_DW_UT.patch
Type: text/x-patch
Size: 1473 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20201116/d13a0177/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dwarf-Also-match-abbrev-base-when-searching-abbrev-l.patch
Type: text/x-patch
Size: 75825 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20201116/d13a0177/attachment-0003.bin>


More information about the Binutils mailing list