]> sourceware.org Git - glibc.git/commit
x86: Adjust tst-cpu-features-supports.c for GCC 11
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 3 Dec 2020 23:02:44 +0000 (15:02 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 4 Dec 2020 13:12:55 +0000 (05:12 -0800)
commit93fda28693f0d9060b0aa71eeacaacfe9f16896e
tree9e381f314af82d813566b5fe034bafe6a9d55447
parent2976082a385a7fb3d0294c6acf745b4f93e834ee
x86: Adjust tst-cpu-features-supports.c for GCC 11

Check HAS_CPU_FEATURE instead of CPU_FEATURE_USABLE for FSGSBASE, IBT,
LM, SHSTK and XSAVES since FSGSBASE requires kernel support, IBT/SHSTK/LM
require OS support and XSAVES is supervisor-mode only.
sysdeps/x86/tst-cpu-features-supports.c
This page took 0.043389 seconds and 5 git commands to generate.