PR27884, skip_attr_bytes: Assertion (data) <= (end) failed
authorAlan Modra <amodra@gmail.com>
Tue, 18 May 2021 14:11:10 +0000 (23:41 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 19 May 2021 01:37:41 +0000 (11:07 +0930)
commit1b3892bedc7674dfd86b1b0285951271cd82de63
treee77445b283e53e6ea4f4a279b54f2d3bcd0d4c01
parent9d9e2a340ba50670f406afa314acaa9a2c34ec64
PR27884, skip_attr_bytes: Assertion (data) <= (end) failed

PR 27884
* dwarf.c (get_type_abbrev_from_form): Replace cu_offset_return
param with map_return, and return map for DW_FORM_ref_addr.
(get_type_signedness): Adjust calls to get_type_abbrev_from_form.
Pass returned cu map start and end to recursive call.
(read_and_display_attr_value): Similarly.
binutils/ChangeLog
binutils/dwarf.c