diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-30 06:17:28 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-30 06:22:52 -0700 |
commit | 7c0ed39626e3193adb70aeb98d3633787579d6ec (patch) | |
tree | ff6ebe98eeabde946d1e4eda079195f903ed6bdb /bfd/opncls.c | |
parent | 0f2425c4c8fdaa7822555bbb61468b46d4e4af20 (diff) | |
download | gdb-7c0ed39626e3193adb70aeb98d3633787579d6ec.zip gdb-7c0ed39626e3193adb70aeb98d3633787579d6ec.tar.gz gdb-7c0ed39626e3193adb70aeb98d3633787579d6ec.tar.bz2 |
Call _close_and_cleanup in bfd_close_all_done
PR binutils/22032
* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
Diffstat (limited to 'bfd/opncls.c')
-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 913341c..b99ae72 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); |