public inbox for binutils-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb/binutils-2_39-branch] Stop the linker from complaining about unrecognized DW_FORM_rnglistx and DW_FORM_loclistx attribute
@ 2022-07-29 12:00 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2022-07-29 12:00 UTC (permalink / raw)
To: bfd-cvs
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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-29 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29 12:00 [binutils-gdb/binutils-2_39-branch] Stop the linker from complaining about unrecognized DW_FORM_rnglistx and DW_FORM_loclistx attribute Nick Clifton
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).