This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S/390: Fix two issues with the IFUNC optimized mem*routines
From: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Date: Thu, 30 Aug 2012 09:07:06 +0200
> On 29/08/12 18:24, H.J. Lu wrote:
>> IFUNC symbol is accessed via GOT. An IFUNC function may have
>> relocatons, but it shouldn't use GOT to get the resolved symbol.
>
> The question is whether we perhaps want/could get rid of this
> limitation by e.g. doing the relocation processing in two passes. A
> first walk over the relocations could ignore the IFUNC relocs and a
> second walk could only invoke the resolver functions.
You're suggesting to add overhead for an obscure case which is
unlikely to have significant utility to justify the overhead.
Please, just add proper relocation handling to S390. It will
even benefit your port significantly in areas outside of IFUNC.