[PATCH] Call _close_and_cleanup in bfd_close_all_done
H.J. Lu
hongjiu.lu@intel.com
Tue Aug 29 19:05:00 GMT 2017
OK for master?
H.J.
---
PR binutils/22032
* opncls.c (bfd_close_all_done): Call _close_and_cleanup.
---
bfd/opncls.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 913341c9ff..b99ae728c0 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);
--
2.13.5
More information about the Binutils
mailing list