aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-02 00:29:02 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-02 00:29:02 +0000
commite3a88560b94668a5b4de5ca7161f3aea5f02e496 (patch)
tree87534a2ea3af39dfc7357e7c6b8922a910758211
parent56a1b8778c2ec21bcd5bf4396a986e051dfc392c (diff)
downloadglibc-e3a88560b94668a5b4de5ca7161f3aea5f02e496.zip
glibc-e3a88560b94668a5b4de5ca7161f3aea5f02e496.tar.gz
glibc-e3a88560b94668a5b4de5ca7161f3aea5f02e496.tar.bz2
(tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out.
-rw-r--r--linuxthreads/Makefile24
1 files changed, 22 insertions, 2 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 6c3c351..dbca5b5 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -121,14 +121,24 @@ endif
ifeq (yes,$(build-shared))
tests-nodelete-yes = unload
-tests += tst-_res1
+tests += tst-tls1 tst-_res1
endif
-modules-names = tst-_res1mod1 tst-_res1mod2
+modules-names = tst-_res1mod1 tst-_res1mod2 \
+ tst-tls1mod tst-tls1moda tst-tls1modb tst-tls1modc \
+ tst-tls1modd tst-tls1mode tst-tls1modf
extra-objs += $(addsuffix .os,$(strip $(modules-names)))
test-extras += $(modules-names)
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
+tst-tls1mod.so-no-z-defs = yes
+tst-tls1moda.so-no-z-defs = yes
+tst-tls1modb.so-no-z-defs = yes
+tst-tls1modc.so-no-z-defs = yes
+tst-tls1modd.so-no-z-defs = yes
+tst-tls1mode.so-no-z-defs = yes
+tst-tls1modf.so-no-z-defs = yes
+
$(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds
$(build-module)
@@ -305,6 +315,16 @@ endif
ifeq (yes,$(build-shared))
$(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so
$(objpfx)tst-_res1: $(objpfx)tst-_res1mod2.so $(shared-thread-library)
+
+$(objpfx)tst-tls1: $(objpfx)tst-tls1mod.so $(shared-thread-library)
+
+tests: $(objpfx)tst-tls2.out
+$(objpfx)tst-tls2.out: tst-tls2.sh $(objpfx)tst-tls1 \
+ $(objpfx)tst-tls1moda.so $(objpfx)tst-tls1modb.so \
+ $(objpfx)tst-tls1modc.so $(objpfx)tst-tls1modd.so \
+ $(objpfx)tst-tls1mode.so $(objpfx)tst-tls1modf.so
+ $(SHELL) -e tst-tls2.sh $(common-objpfx) $(elf-objpfx) \
+ $(rtld-installed-name)
endif
ifeq (no,$(cross-compiling))