[PATCH] Call _close_and_cleanup in bfd_close_all_done

Alan Modra amodra@gmail.com
Thu Aug 31 01:04:00 GMT 2017
On Thu, Aug 31, 2017 at 08:49:21AM +0930, Alan Modra wrote:
> I'm testing the following fix.
> 
> 	* opncls.c (bfd_close_all_done): Don't call bfd_cache_close
> 	before _close_and_cleanup.  Call iovec->bclose after.
> 	(bfd_close): Remove code common to, and call bfd_close_all_done.

Now committed.  The test run showed breakage of all x86 non-ELF
targets.

../bfd/.libs/libbfd.a(elfxx-x86.o): In function `_bfd_x86_elf_link_hash_table_create':
/home/alan/src/binutils-gdb/bfd/elfxx-x86.c:269: undefined reference to `elf64_r_info'
/home/alan/src/binutils-gdb/bfd/elfxx-x86.c:270: undefined reference to `elf64_r_sym'

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list