mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
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.
This commit is contained in:
@ -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-26 Nick Clifton <nickc@redhat.com>
|
2022-07-26 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* elfnn-loongarch.c (loongarch_elf_relocate_section): Fix
|
* elfnn-loongarch.c (loongarch_elf_relocate_section): Fix
|
||||||
|
@ -1607,6 +1607,11 @@ read_attribute_value (struct attribute * attr,
|
|||||||
attr->u.sval = _bfd_safe_read_leb128 (abfd, &info_ptr,
|
attr->u.sval = _bfd_safe_read_leb128 (abfd, &info_ptr,
|
||||||
true, info_ptr_end);
|
true, info_ptr_end);
|
||||||
break;
|
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_ref_udata:
|
||||||
case DW_FORM_udata:
|
case DW_FORM_udata:
|
||||||
attr->u.val = _bfd_safe_read_leb128 (abfd, &info_ptr,
|
attr->u.val = _bfd_safe_read_leb128 (abfd, &info_ptr,
|
||||||
|
Reference in New Issue
Block a user