Re: Resetting section vma after _bfd_dwarf2_find_nearest_line
authorAlan Modra <amodra@gmail.com>
Wed, 8 Feb 2023 00:23:59 +0000 (10:53 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 8 Feb 2023 00:47:00 +0000 (11:17 +1030)
commit4170bc7ea846a14485e4729f1e2d707a04035c6f
tree65c4648735054807df1505a2599ac2d963bc1891
parentc9245f0df5adbfcd2f51a1bc509ed088b5249232
Re: Resetting section vma after _bfd_dwarf2_find_nearest_line

f.bfd_ptr is set too early to be a reliable indicator of good debug
info.

* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Correct test for
debug info being previously found.
bfd/dwarf2.c