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: Wed, 29 Aug 2012 13:44:27 +0200
> However, I think this is a general problem which might very well
> occur with other shared objects defining IFUNC optimized
> routines. Forcing IFUNC resolvers to never generate any runtime
> relocations to me appears like a rather non-obvious limitation.
You really have to reference IFUNC implementations from the IFUNC
resolver using GOT relative relocations, there really is no way around
this.
On sparc, the linker will optimize normal relocations into
GOT-relative ones during the final link for symbols which are
guarenteed to resolve within the linked final object.