Call _close_and_cleanup in bfd_close_all_done

PR binutils/22032
	* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
This commit is contained in:
H.J. Lu
2017-08-29 10:52:30 -07:00
parent 0f2425c4c8
commit 4a25b09a81

View File

@@ -776,6 +776,9 @@ bfd_close_all_done (bfd *abfd)
ret = bfd_cache_close (abfd); ret = bfd_cache_close (abfd);
if (! BFD_SEND (abfd, _close_and_cleanup, (abfd)))
return FALSE;
if (ret) if (ret)
_maybe_make_executable (abfd); _maybe_make_executable (abfd);