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

Florian Weimer fweimer@redhat.com
Fri Aug 17 14:50:00 GMT 2018


On 07/29/2018 06:16 PM, H.J. Lu wrote:
> extern enum cpu_features_kind __x86_get_cpu_kind (void)
>       __attribute__ ((const));
> 
> extern const struct cpuid_registers *__x86_get_cpuid_registers
>       (unsigned int) __attribute__ ((const));
> 
> extern unsigned int __x86_get_arch_feature (unsigned int)
>       __attribute__ ((const));

Are these functions supposed to be usable in IFUNC resolvers?

Shouldn't these identifiers be in the public (non-internal) namespace?

Thanks,
Florian



More information about the Libc-alpha mailing list