[PATCH]: sparc: Don't output PLT entries/relocs for unref'd STT_GNU_IFUNC in shared objects.

Nick Clifton nickc@redhat.com
Mon Mar 1 16:26:00 GMT 2010


Hi David,

> 2010-02-25  David S. Miller<davem@davemloft.net>
>
> 	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and
> 	h->def_regular, set h->ref_regular.
> 	(allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries
> 	and dynamic relocations if h->ref_regular.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list