Fix the BFD library's parsing of DIEs where specification attributes can refer to...
authorNick Clifton <nickc@redhat.com>
Tue, 2 Mar 2021 16:08:23 +0000 (16:08 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Mar 2021 16:08:23 +0000 (16:08 +0000)
commitca8f6bc629cb27792ce449e7253c74a3f6f75fda
treee299aa4b18780df60bdf9bde1d685276b7be0167
parent211bcd013331fcaefa9bb31b6145ae0df13a3363
Fix the BFD library's parsing of DIEs where specification attributes can refer to variables that are defined later on.

PR 27484
* dwarf2.c (scan_unit_for_symbols): Scan twice, once to accumulate
function and variable tags and a second time to resolve their
attributes.
bfd/ChangeLog
bfd/dwarf2.c