about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-01 12:59:12 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-01 12:59:33 +0200
commit6d4f1834957bc52fef6bf0fe903580220d0d711c (patch)
treeab9efaa3457b3034bfb6970edc1606e22c8552da /sysdeps/x86_64
parentadca662202f470a63fb85c1009e600b796cb9aa3 (diff)
downloadglibc-6d4f1834957bc52fef6bf0fe903580220d0d711c.tar.gz
glibc-6d4f1834957bc52fef6bf0fe903580220d0d711c.tar.xz
glibc-6d4f1834957bc52fef6bf0fe903580220d0d711c.zip
nptl: move tst-x86-64-tls-1 to nptl-only tests
It is essentially nptl-only.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/Makefile2
-rw-r--r--sysdeps/x86_64/nptl/Makefile4
-rw-r--r--sysdeps/x86_64/nptl/tst-x86-64-tls-1.c (renamed from sysdeps/x86_64/tst-x86-64-tls-1.c)0
3 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile
index 54396c3c3f..00120ca9ca 100644
--- a/sysdeps/x86_64/Makefile
+++ b/sysdeps/x86_64/Makefile
@@ -175,8 +175,6 @@ ifeq (no,$(build-hardcoded-path-in-tests))
 tests-container += tst-glibc-hwcaps-cache
 endif
 
-tests-internal += tst-x86-64-tls-1
-
 endif # $(subdir) == elf
 
 ifeq ($(subdir),csu)
diff --git a/sysdeps/x86_64/nptl/Makefile b/sysdeps/x86_64/nptl/Makefile
index e25e3199a3..70e31b73ef 100644
--- a/sysdeps/x86_64/nptl/Makefile
+++ b/sysdeps/x86_64/nptl/Makefile
@@ -18,3 +18,7 @@
 ifeq ($(subdir),csu)
 gen-as-const-headers += tcb-offsets.sym
 endif
+
+ifeq ($(subdir),elf)
+tests-internal += tst-x86-64-tls-1
+endif
diff --git a/sysdeps/x86_64/tst-x86-64-tls-1.c b/sysdeps/x86_64/nptl/tst-x86-64-tls-1.c
index 8ae2e81c40..8ae2e81c40 100644
--- a/sysdeps/x86_64/tst-x86-64-tls-1.c
+++ b/sysdeps/x86_64/nptl/tst-x86-64-tls-1.c