public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Alan Modra <amodra@gmail.com>
Cc: Binutils <binutils@sourceware.org>,
	Mark Wielaard <mark@klomp.org>,  Nick Clifton <nickc@redhat.com>
Subject: [PATCH] DWARF-5: Skip empty range in DWARF-5 line number tables
Date: Sat, 23 Jan 2021 20:16:17 -0800	[thread overview]
Message-ID: <CAMe9rOoyByS2gR2bzZrUvEijSxUw7cYdOs0otZ9ZsLfpKZamSA@mail.gmail.com> (raw)
In-Reply-To: <20210124013453.GM26219@bubble.grove.modra.org>

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?

-- 
H.J.

  reply	other threads:[~2021-01-24  4:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-23 23:29 [PATCH] dwarf5: Fix parsing " H.J. Lu
2021-01-23 23:29 ` H.J. Lu
2021-01-24  1:34   ` Alan Modra
2021-01-24  4:16     ` H.J. Lu [this message]
2021-01-24 11:58       ` [PATCH] DWARF-5: Skip empty range in " H.J. Lu
2021-01-24 14:11         ` [PATCH] DWARF-5: Ignore " H.J. Lu
2021-01-23 23:40 ` [PATCH] dwarf5: Fix parsing " Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMe9rOoyByS2gR2bzZrUvEijSxUw7cYdOs0otZ9ZsLfpKZamSA@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=mark@klomp.org \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).