diff options
author | Nick Clifton <nickc@redhat.com> | 2022-07-29 12:58:10 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-07-29 12:58:10 +0100 |
commit | b44cfc5de139d7e2410e91846df0f0164d663d0b (patch) | |
tree | 14efe173849a41c7f3ec714c485ee942695e8493 /bfd/dwarf2.c | |
parent | b875e9c93df9f30efb34a75b9379490c03ec4d4b (diff) | |
download | gdb-b44cfc5de139d7e2410e91846df0f0164d663d0b.zip gdb-b44cfc5de139d7e2410e91846df0f0164d663d0b.tar.gz gdb-b44cfc5de139d7e2410e91846df0f0164d663d0b.tar.bz2 |
Stop the linker from complaining about unrecognised DW_FORM-rnglistx and DW_FORM_loclistx format attributes.
PR 29424
* dwarf2.c (read_attribute_value): Handle DW_FORM_rnglistx and
DW_FORM_loclistx.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index aaa2d84..4761878 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1607,6 +1607,11 @@ 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, |