[PATCH] x86: Adjust tst-cpu-features-supports.c for GCC 11

Florian Weimer fweimer@redhat.com
Fri Dec 4 08:11:55 GMT 2020


* H. J. Lu via Libc-alpha:

> Set RDRAND usable if CPU supports RDRAND.  Also check HAS_CPU_FEATURE
> instead of CPU_FEATURE_USABLE for FSGSBASE, LM and XSAVES since
> FSGSBASE/LM require kernel support and XSAVES is supervisor-mode only.

I think the commit subject is misleading because the RDRAND part is a
glibc bug fix.  Rest looks okay to me.

Thanks,
Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list