[COMMITTED] x86: Build tst-gnu2-tls2-x86* iff compiler supports TLS descriptor
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Feb 11 13:39:09 GMT 2026
The test modules are built with
-mtls-dialect=$(have-test-mtls-descriptor), similar to tst-gnu2-tls2.
Checked on x86_64-linux-gnu.
---
sysdeps/x86/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index e32a430bb9..b16f4a3404 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -27,11 +27,15 @@ tests += \
tst-cpu-features-supports-static \
tst-get-cpu-features \
tst-get-cpu-features-static \
+ tst-hwcap-tunables \
+# tests
+ifneq (no,$(have-test-mtls-descriptor))
+tests += \
tst-gnu2-tls2-x86-noxsave \
tst-gnu2-tls2-x86-noxsavec \
tst-gnu2-tls2-x86-noxsavexsavec \
- tst-hwcap-tunables \
# tests
+endif
tests-static += \
tst-cpu-features-cpuinfo-static \
tst-cpu-features-supports-static \
--
2.43.0
More information about the Libc-alpha
mailing list