[PATCH] Call _close_and_cleanup in bfd_close_all_done

Alan Modra amodra@gmail.com
Wed Aug 30 06:49:00 GMT 2017
On Tue, Aug 29, 2017 at 12:05:31PM -0700, H.J. Lu wrote:
> OK for master?
> 
> H.J.
> ---
> 	PR binutils/22032
> 	* opncls.c (bfd_close_all_done): Call _close_and_cleanup.

Please have a look at archive.c:_bfd_archive_close_and_cleanup and
convince yourself that this change is safe.  archive_close_worker
calls bfd_close_all_done.  I think it is OK, but I'd like to make sure
you have put eyes on that code too.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list