GNU Binutils with patches for OS216
Revisión | 4a25b09a81a4862aca84a0bb5e6e3953db074a34 (tree) |
---|---|
Tiempo | 2017-08-30 21:31:33 |
Autor | H.J. Lu <hjl.tools@gmai...> |
Commiter | H.J. Lu |
Call _close_and_cleanup in bfd_close_all_done
PR binutils/22032
* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
@@ -776,6 +776,9 @@ bfd_close_all_done (bfd *abfd) | ||
776 | 776 | |
777 | 777 | ret = bfd_cache_close (abfd); |
778 | 778 | |
779 | + if (! BFD_SEND (abfd, _close_and_cleanup, (abfd))) | |
780 | + return FALSE; | |
781 | + | |
779 | 782 | if (ret) |
780 | 783 | _maybe_make_executable (abfd); |
781 | 784 |