RFC: Add <sys/platform/x86.h> to glibc 2.29

Florian Weimer fweimer@redhat.com
Fri Aug 17 19:11:00 GMT 2018


On 08/17/2018 06:43 PM, H.J. Lu wrote:
>>>> Are these functions supposed to be usable in IFUNC resolvers?
>>>
>>> They have the same limitation as
>>>
>>> /* Used from outside of glibc to get access to the CPU features
>>>      structure.  */
>>> extern const struct cpu_features *__get_cpu_features (void)
>>>        __attribute__ ((const));
>>
>> Sorry, this does not answer my question.

> Just like __get_cpu_features, they can be used in IFUNC resolvers.

Then we need something like this:

   <https://sourceware.org/ml/libc-alpha/2018-06/msg00077.html>

Thanks,
Florian



More information about the Libc-alpha mailing list