aboutsummaryrefslogtreecommitdiff
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
parentadca662202f470a63fb85c1009e600b796cb9aa3 (diff)
downloadglibc-6d4f1834957bc52fef6bf0fe903580220d0d711c.zip
glibc-6d4f1834957bc52fef6bf0fe903580220d0d711c.tar.gz
glibc-6d4f1834957bc52fef6bf0fe903580220d0d711c.tar.bz2
nptl: move tst-x86-64-tls-1 to nptl-only tests
It is essentially nptl-only.
-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 54396c3..00120ca 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 e25e319..70e31b7 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 8ae2e81..8ae2e81 100644
--- a/sysdeps/x86_64/tst-x86-64-tls-1.c
+++ b/sysdeps/x86_64/nptl/tst-x86-64-tls-1.c