Prevent an assertion failure in readelf & objdump when parsing corrupt DWARF information.
authorNick Clifton <nickc@redhat.com>
Wed, 18 Apr 2018 11:03:03 +0000 (12:03 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 18 Apr 2018 11:03:03 +0000 (12:03 +0100)
commita7504f87d41694d441fabb3308631df4d2750c24
treeae89ddf688dc34d25311bbc1b89a06e7e5544516
parent82deb12e5f96af0b767abf6ec83d5e95f408c8d0
Prevent an assertion failure in readelf & objdump when parsing corrupt DWARF information.

PR 23062
* dwarf.c (read_and_display_attr_value): Replace assertions with
test and warning message.
binutils/ChangeLog
binutils/dwarf.c