Fix: readelf..info misreports DW_FORM_loclistx, DW_FORM_rnglistx
authorVsevolod Alekseyev <sevaa@sprynet.com>
Tue, 3 Oct 2023 08:27:27 +0000 (09:27 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Oct 2023 08:27:27 +0000 (09:27 +0100)
commit8c7125feaaa495b2aa0fed6cd077e35d0d90df43
treeddaeb7d98ea828b8e22f46714bcd7d81d67bc80c
parentcc4455ec1e11d99980795342d1a3edcad500c8bf
Fix: readelf..info misreports DW_FORM_loclistx, DW_FORM_rnglistx

  PR 29267
  * dwarf.c (fetch_indexed_value): Delete. (fetch_indexed_offset): Correct base address calculation. (read_and_display_attr_value): Replace uses of fetch_indexed_value with fetch_indexed_offset.
binutils/ChangeLog
binutils/dwarf.c