display_debug_ranges
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:47:58 +0000 (15:17 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:52:25 +0000 (15:22 +0930)
commitb4951546078b869ce2f720561a2c59cfe2d005c9
tree1b8e499096386eaeb6d78b09a255a2f9f2966ba8
parent669f463dbc700ab2694c960bb3e3f1083323f500
display_debug_ranges

* dwarf.c (display_debug_ranges): Delete initial_length_size.
Correct fallback size calculated on finding a reloc.  Constrain
data reads to length given in header.  Avoid pointer UB.
binutils/ChangeLog
binutils/dwarf.c