On Sat, Jan 23, 2021 at 8:16 PM H.J. Lu wrote: > > On Sat, Jan 23, 2021 at 5:34 PM Alan Modra 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 > > > 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? -- H.J.