public inbox for binutils-cvs@sourceware.org help / color / mirror / Atom feed
From: Nick Clifton <nickc@sourceware.org> To: bfd-cvs@sourceware.org Subject: [binutils-gdb/binutils-2_39-branch] Stop the linker from complaining about unrecognized DW_FORM_rnglistx and DW_FORM_loclistx attribute Date: Fri, 29 Jul 2022 12:00:52 +0000 (GMT) [thread overview] Message-ID: <20220729120052.0DC583857C4C@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c87bc94762a0f5c5960c69278a68c7d60ca2c0c9 commit c87bc94762a0f5c5960c69278a68c7d60ca2c0c9 Author: Nick Clifton <nickc@redhat.com> Date: Fri Jul 29 13:00:09 2022 +0100 Stop the linker from complaining about unrecognized DW_FORM_rnglistx and DW_FORM_loclistx attribute formats. PR 29424 * dwarf2.c (read_attribute_value): Handle DW_FORM_rnglistx and DW_FORM_loclistx. Diff: --- bfd/ChangeLog | 6 ++++++ bfd/dwarf2.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b88f33b5e72..ed88a1775ac 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2022-07-29 Nick Clifton <nickc@redhat.com> + + PR 29424 + * dwarf2.c (read_attribute_value): Handle DW_FORM_rnglistx and + DW_FORM_loclistx. + 2022-07-08 Nick Clifton <nickc@redhat.com> * 2.39 branch created. diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index aaa2d84887f..25a80333e67 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1607,6 +1607,10 @@ read_attribute_value (struct attribute * attr, attr->u.sval = _bfd_safe_read_leb128 (abfd, &info_ptr, true, info_ptr_end); break; + case DW_FORM_rnglistx: + case DW_FORM_loclistx: + /* FIXME: Add support for these forms! */ + /* Fall through. */ case DW_FORM_ref_udata: case DW_FORM_udata: attr->u.val = _bfd_safe_read_leb128 (abfd, &info_ptr,
reply other threads:[~2022-07-29 12:00 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20220729120052.0DC583857C4C@sourceware.org \ --to=nickc@sourceware.org \ --cc=bfd-cvs@sourceware.org \ /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: linkBe 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).