[PATCH] Fix GC and SHF_MERGE interaction (was Re: bfd is broken)

Alan Modra amodra@bigpond.net.au
Tue Jan 15 02:21:00 GMT 2002


On Mon, Jan 14, 2002 at 05:23:06PM +0100, Jakub Jelinek wrote:
> 
> 	* elflink.h (elf_link_input_bfd): Back out 2002-01-07 change.
> 	* elf.c (merge_sections_remove_hook): New function.
> 	(_bfd_elf_merge_sections): Pass it as 3rd argument to
> 	_bfd_merge_sections.
> 	* libbfd-in.h (_bfd_merge_sections): Add 3rd argument.
> 	* libbfd.h: Rebuilt.
> 	* merge.c (_bfd_merge_sections): Add remove_hook argument.
> 	Call remove_hook if a SEC_EXCLUDE section is encountered.

OK.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list