PATCH: Check GLIBC_IFUNC to enable/disable ifunc features

Andreas Schwab schwab@suse.de
Thu Jun 30 14:33:00 GMT 2016


Siddhesh Poyarekar <siddhesh@sourceware.org> writes:

> On Thu, Jun 30, 2016 at 06:42:30AM -0700, H.J. Lu wrote:
>> comma-separator is fine.  But we need to both turn it on and off.
>
> How about this:
>
> empty string == all disabled
> special keyword 'all' == all enabled
> comma-separated list == those enabled and rest disabled.

I think it is useful to be able to selectively disable some features, by
prefixing it with - for example.

>> Also do we need _X86? GLIBC_IFUNC is processor specific.  Why
>> pollute environment with
>> 
>> GLIBC_IFUNC_ARM
>> GLIBC_IFUNC_X86
>
> Fair enough.

Only if unknown features are ignored.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list