[PATCH] DWARF-5: Ignore empty range in DWARF-5 line number tables

H.J. Lu hjl.tools@gmail.com
Sun Jan 24 14:11:11 GMT 2021


On Sun, Jan 24, 2021 at 3:58 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Sat, Jan 23, 2021 at 8:16 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> >
> > On Sat, Jan 23, 2021 at 5:34 PM Alan Modra <amodra@gmail.com> wrote:
> > >
> > > On Sat, Jan 23, 2021 at 03:29:35PM -0800, H.J. Lu wrote:
> > > > Advance rngs_ptr when parsing DW_RLE_offset_pair, which was missing in
> > > >
> > > > commit c3757b583d2448a5996e83e374fb96ac7938da35
> > > > Author: Mark Wielaard <mark@klomp.org>
> > > > Date:   Tue Aug 25 15:33:00 2020 +0100
> > > >
> > > >     Fix the linker's handling of DWARF-5 line number tables.
> > > >
> > > >       PR binutils/27231
> > > >       * dwarf2.c (read_rnglists): Advance rngs_ptr after
> > > >       _bfd_safe_read_leb128 when parsing DW_RLE_offset_pair.
> > >
> > > OK everywhere.
> > >
> >
> > This patch is also needed to skip empty ranges in DWARF-5 line
> > number tables generated by GCC 11.
> >
> > OK for master?
>
> Here is the real patch.  OK for master and 2.36/2.35 branches?
>

Here is the patch I am checking in.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-DWARF-5-Ignore-empty-range-in-DWARF-5-line-number-ta.patch
Type: text/x-patch
Size: 1093 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20210124/15af25d8/attachment.bin>


More information about the Binutils mailing list