PR29617, ld segfaults when bfd_close fails
authorAlan Modra <amodra@gmail.com>
Tue, 27 Sep 2022 00:38:18 +0000 (10:08 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 27 Sep 2022 00:43:40 +0000 (10:13 +0930)
commite122316b7ce78b999db944d7b524e11d642e2a49
treeee7c15cd187f3e5845e77c6b62b629d709d09488
parent64dc622ffb276f4d765dadb124e98d20fab70759
PR29617, ld segfaults when bfd_close fails

PR 29617
* ldmain.c (main): Don't access output_bfd after bfd_close.
ld/ldmain.c