diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-29 10:52:30 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-30 05:31:33 -0700 |
commit | 4a25b09a81a4862aca84a0bb5e6e3953db074a34 (patch) | |
tree | edcfeb836756784a66bb90efb80237db8a6c762d | |
parent | 0f2425c4c8fdaa7822555bbb61468b46d4e4af20 (diff) | |
download | binutils-gdb-users/hjl/pr22032.tar.gz |
Call _close_and_cleanup in bfd_close_all_doneusers/hjl/pr22032
PR binutils/22032
* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
-rw-r--r-- | bfd/opncls.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/opncls.c b/bfd/opncls.c index 913341c9ffc..b99ae728c07 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -776,6 +776,9 @@ bfd_close_all_done (bfd *abfd) ret = bfd_cache_close (abfd); + if (! BFD_SEND (abfd, _close_and_cleanup, (abfd))) + return FALSE; + if (ret) _maybe_make_executable (abfd); |