about summary refs log tree commit diff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-24 10:03:02 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-24 10:03:02 +0000
commitffeb4481f46746917f22d2d992d2e3c729919b51 (patch)
tree0bebfaccfd1d534310666ae6263319e89b102bb0 /nptl/Makefile
parent18a535792b7a63721a123e152266c4b8cf1fae8e (diff)
downloadglibc-ffeb4481f46746917f22d2d992d2e3c729919b51.tar.gz
glibc-ffeb4481f46746917f22d2d992d2e3c729919b51.tar.xz
glibc-ffeb4481f46746917f22d2d992d2e3c729919b51.zip
Update.
	* Makefile: Add rules to build and run tst-tls3.
	* tst-tls3.c: New file.
	* tst-tls3mod.c: New file.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index b086c1e77a..644967b99c 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -170,10 +170,10 @@ LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
 include ../Makeconfig
 
 ifeq ($(build-shared),yes)
-tests += tst-atfork2
+tests += tst-atfork2 tst-tls3
 endif
 
-modules-names = tst-atfork2mod
+modules-names = tst-atfork2mod tst-tls3mod
 extra-objs += $(addsuffix .os,$(strip $(modules-names)))
 test-extras += $(modules-names)
 test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
@@ -253,6 +253,11 @@ LDFLAGS-tst-atfork2 = -rdynamic
 tst-atfork2-ENV = MALLOC_TRACE=$(objpfx)tst-atfork2.mtrace
 $(objpfx)tst-atfork2mod.so: $(shared-thread-library)
 
+$(objpfx)tst-tls3: $(libdl) $(shared-thread-library)
+LDFLAGS-tst-tls3 = -rdynamic
+$(objpfx)tst-tls3.out: $(objpfx)tst-tls3mod.so
+$(objpfx)tst-tls3mod.so: $(shared-thread-library)
+
 extra-B-pthread.so = -B$(common-objpfx)nptl/
 $(objpfx)libpthread.so: $(objpfx)crti.o
 $(objpfx)libpthread.so: +preinit += $(objpfx)crti.o