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 at linux dot vnet dot ibm dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: Andreas Krebbel <andreas at de dot ibm dot com>, libc-alpha at sourceware dot org
- Date: Thu, 30 Aug 2012 17:13:44 +0200
- Subject: Re: [PATCH] S/390: Fix two issues with the IFUNC optimized mem* routines
- References: <20120829104421.GA27985@bart> <503F7FCA.40503@twiddle.net>
On 30/08/12 16:59, Richard Henderson wrote:
> On 08/29/2012 03:44 AM, Andreas Krebbel wrote:
>> 1. In the current implementation the resolver functions reside in a
>> different file than the CPU optimized versions. This requires an
>> R_390_RELATIVE runtime relocation to be generated when the resolver
>> returns the function pointers.
>
> To some extent I think this is a failing in gcc as well.
>
> There's no reason to *ever* drop a hidden function pointer
> into the constant pool, since LARL is always available.
The problem was that I unfortunately missed to mark the references hidden in a way visible to GCC :(
-Andreas-