dwarf2.c stash->sec_info_ptr and stash->sec
authorAlan Modra <amodra@gmail.com>
Tue, 3 Dec 2019 03:00:33 +0000 (13:30 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Dec 2019 05:33:20 +0000 (16:03 +1030)
commit1b8e12713b399450f8befc5f52442219f1f63669
tree2a139752ba942f43fe61077dce985ed31b86d49f
parent2247a609df7ecd55c1e5a63a9fe1319f28f2b587
dwarf2.c stash->sec_info_ptr and stash->sec

These are unused.  Remove them.  Also fix the wrong sort of 0 being
returned from read_alt_indirect_ref.

* dwarf2.c (struct dwarf2_debug): Update comments.  Remove sec
and sec_info_ptr.
(_bfd_dwarf2_slurp_debug_info): Don't set sec or sec_info_ptr.
(stash_comp_unit): Likewise.
(read_alt_indirect_ref): Return NULL not FALSE.
bfd/ChangeLog
bfd/dwarf2.c