Call bfd_close_all_done in output_file_close
authorAlan Modra <amodra@gmail.com>
Fri, 27 Jan 2023 02:01:27 +0000 (12:31 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 27 Jan 2023 05:16:20 +0000 (15:46 +1030)
commit3e7cde4dca8c63b8091597bd7800f0f71e822395
tree528bb3d3d50e0962bb09f073f8b70b88a831b97d
parentc026360c7578b4599c289987981d9c9c80481e40
Call bfd_close_all_done in output_file_close

bfd_cache_close_all is good for closing file descriptors, but doesn't
do the cleanup of bfd memory as in bfd_close_all_done.

PR 13056
* output-file.c (output_file_close): Call bfd_close_all_done,
not bfd_cache_close_all.
gas/output-file.c