Fix decoding of indexed DWARF strings using pre-DWARF-5 string offset sections. ...
authorNick Clifton <nickc@redhat.com>
Tue, 23 Jun 2020 15:06:38 +0000 (16:06 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 23 Jun 2020 15:06:38 +0000 (16:06 +0100)
commit39f381cb80463bd814da549a927bee4643d4ceac
tree8f62b0da715bfa765cabadabdc5da928b1ebe81e
parent7e4b9c4cd3b83be4c52eb475a6ef6b3fa4946cc5
Fix decoding of indexed DWARF strings using pre-DWARF-5 string offset sections.  Fix display of .debug_str_offsets.dwo sections.

PR 26160
* dwarf.c (fetch_indexed_string): Detect and handle old style
.debug_str_offset tables.
(display_debug_str_offsets): Likewise.  Also add support for
.debug_str_offsets.dwo sections.
binutils/ChangeLog
binutils/dwarf.c