This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH]: sparc: Don't output PLT entries/relocs for unref'd STT_GNU_IFUNC in shared objects.
- From: David Miller <davem at davemloft dot net>
- To: binutils at sourceware dot org
- Date: Sun, 28 Feb 2010 19:12:06 -0800 (PST)
- Subject: Re: [PATCH]: sparc: Don't output PLT entries/relocs for unref'd STT_GNU_IFUNC in shared objects.
- References: <20100225.234003.122344769.davem@davemloft.net>
From: David Miller <davem@davemloft.net>
Date: Thu, 25 Feb 2010 23:40:03 -0800 (PST)
>
> While testing support for multiarch versions of memset/bzero/memcpy
> in glibc on sparc I noticed a bug in my STT_GNU_IFUNC implementation.
>
> Even though no references to the symbols occur in the shared object,
> the PLT entries and associated relocations were still being emitted.
>
> This fixes that bug.
>
> Ok to commit?
Ping?