This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Fix --as-needed on ppc64 (Re: Linker performance : ppc64_elf_check_directive & add_symbol_adjust)
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 23 Dec 2006 18:44:43 +1030
- Subject: Re: [PATCH] Fix --as-needed on ppc64 (Re: Linker performance : ppc64_elf_check_directive & add_symbol_adjust)
- References: <79553f0a0610312339k43b3f732mf7d39e5c2c35d356@mail.gmail.com> <20061105104124.GA19188@bubble.grove.modra.org> <20061107032545.GA23859@bubble.grove.modra.org> <20061218155751.GM3819@sunsite.mff.cuni.cz>
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