PATCH: Check GLIBC_IFUNC to enable/disable ifunc features
H.J. Lu
hjl.tools@gmail.com
Thu Jun 30 11:35:00 GMT 2016
On Wed, Jun 29, 2016 at 8:44 PM, Siddhesh Poyarekar
<siddhesh@sourceware.org> wrote:
> On Wed, Jun 29, 2016 at 08:22:15PM -0700, H.J. Lu wrote:
>> GLIBC_IFUNC must be processed after init_cpu_features is called and before
>> any relocation is performed. Otherwise, IFUNC won't work correctly. Can your
>> tunable scheme support it?
>
> Yes, one of the desired use cases for tunables has been to control
> IFUNC behaviour.
Another concern is we only need to check one GLIBC_IFUNC and
done. With GLIBC_IFUNC_X86_XXX, it becomes open ended. I
really want to avoid it.
--
H.J.
More information about the Libc-alpha
mailing list