[PATCH] Fix --as-needed on ppc64 (Re: Linker performance : ppc64_elf_check_directive & add_symbol_adjust)

Alan Modra amodra@bigpond.net.au
Sun Dec 24 01:55:00 GMT 2006


On Mon, Dec 18, 2006 at 04:57:51PM +0100, Jakub Jelinek wrote:
> 	* elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
> 	* elfxx-target.h (elf_backend_as_needed_cleanup): Define.
> 	(elfNN_bed): Add as_needed_cleanup hook.
> 	* elflink.c (elf_link_add_object_symbols): Call it when reverting
> 	hash table changes for unneeded --as-needed input.
> 	* elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
> 	(ppc64_elf_as_needed_cleanup): New function.

OK.  Thanks!

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list