Fix the debuglink following code to recursively load links found in the newly loaded...
authorNick Clifton <nickc@redhat.com>
Fri, 11 Sep 2020 12:30:38 +0000 (13:30 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 11 Sep 2020 12:30:56 +0000 (13:30 +0100)
commitce139cd560dcb85b09d4d257ac67ebffdf215859
treecdb96ee32f9db63b845bc3fcd5ef5daba6c46b23
parent7a4e8e7d551eaddc63c67d85c02c7573f5a56ae8
Fix the debuglink following code to recursively load links found in the newly loaded debug info.

PR 26595
* dwarf.c (load_separate_debug_info): Return NULL rather than
FALSE in error situations.
(load_separate_debug_file): Move code to load debug links to ...
(check_for_and_load_links): ... here.  New function.  Load
separate debug information pointed to by debuglink and
debugaltlink sections.  Recursively scan newly loaded debug
information for more links and load them too.
binutils/ChangeLog
binutils/dwarf.c