Some DWARF5 backports for 2.35.2

Mark Wielaard mark@klomp.org
Mon Nov 16 19:52:46 GMT 2020


Hi Nick,

On Mon, 2020-11-16 at 12:27 +0000, Nick Clifton wrote:
> > [PATCH 1/9] binutils: Handle DWARF5 DW_FORM_ref_addr and
> > [PATCH 2/9] Sync libiberty and include with GCC for get_DW_UT_name.
> > [PATCH 3/9] readelf: Show Unit Type for DWARF5
> > [PATCH 4/9] binutils: dwarf.c handle DWARF5 DW_LLE_start_end and
> > [PATCH 5/9] readelf: Fix output of rnglists section
> > [PATCH 6/9] gas: Reuse the input file entry in the file table
> > [PATCH 7/9] Work around problem in DWARF decoding library which can
> > [PATCH 8/9] Fix the decoding of DW_FORM_ref_addr DWARF attribute.
> > [PATCH 9/9] Accept the DW_FORM_ref8 type when parsing DWARF types.
> > OK, to push these to the binutils-2_35-branch?
> 
> Backports of all of these, plus the extras you and H.J. found are
> approved.

Thanks. Pushed to the binutils-2_35-branch.

> I am not sure about the creation of a 2.35.2 release however given that
> the 2.36 release will probably be happening in January.  Do you have a
> timetable that needs an earlier solution than that ?

January is before the GCC11 release, so that would be good.
I had hoped for a 2.35.2 release with just these fixes to make working
with (early) GCC11 DWARF5 support easier. Technically only the gas fix
is needed to work around some minor GCC11 bootstrap failure (the line
table might have an extra entry, that could be ignored, but the
bootstrap compare won't). But various tools use binutils readelf in
their testsuite and it would be nice if these fixes were picked up by
distros to make testing things easier. Personally even though I know I
need to use binutils trunk when working/testing DWARF5 I still forget
from time to time and am scratching my head till I remember I am using
the system binutils...

Cheers,

Mark


More information about the Binutils mailing list