[PATCH] S/390: Fix two issues with the IFUNC optimized mem* routines
David Miller
davem@davemloft.net
Wed Aug 29 14:28:00 GMT 2012
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.
More information about the Libc-alpha
mailing list