diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-25 19:33:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-25 19:33:19 +0000 |
commit | ad7534c8f08c31f3e140a31e4099e7e0b5e193d2 (patch) | |
tree | 311f04ac9b09f2b4f5fea5aad8ab6de18e05dc38 /linuxthreads/Makefile | |
parent | bb8d0fd5b125d43445124e37a2569f53bb7fb2ea (diff) | |
download | glibc-ad7534c8f08c31f3e140a31e4099e7e0b5e193d2.tar.gz glibc-ad7534c8f08c31f3e140a31e4099e7e0b5e193d2.tar.xz glibc-ad7534c8f08c31f3e140a31e4099e7e0b5e193d2.zip |
Update.
2000-08-25 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. * elf/nodelete.c (fini_ran): New global variable. (do_test): Before every dlclose call clear fini_ran and test afterwards that it is not set by the destructors. * elf/nodelmod1.c: Add destructor which sets fini_ran. * elf/nodelmod2.c: Likewise. * elf/nodelmod4.c: Likewise.
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r-- | linuxthreads/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index 9ef66f9247..104a3acda1 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -42,9 +42,15 @@ LDFLAGS-pthread.so = $(nodelete-$(have-z-nodelete)) vpath %.c Examples +include ../Makeconfig + librt-tests = ex10 ex11 tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 $(librt-tests) ex12 ex13 joinrace \ - tststack + tststack $(tests-nodelete-$(have-z-nodelete)) + +ifeq (yes,$(build-shared)) +tests-nodelete-yes = unload +endif include ../Rules @@ -53,6 +59,7 @@ CFLAGS-specific.c += -D__NO_WEAK_PTHREAD_ALIASES CFLAGS-pthread.c += -D__NO_WEAK_PTHREAD_ALIASES CFLAGS-ptfork.c += -D__NO_WEAK_PTHREAD_ALIASES CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES +CFLAGS-unload.c += -DPREFIX=\"$(objpfx)\" # Depend on libc.so so a DT_NEEDED is generated in the shared objects. # This ensures they will load libc.so for needed symbols if loaded by @@ -63,6 +70,7 @@ $(objpfx)libpthread.so: $(common-objpfx)libc.so ifeq ($(build-shared),yes) $(addprefix $(objpfx),$(tests)): $(objpfx)libpthread.so $(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.so +$(objpfx)unload: $(common-objpfx)dlfcn/libdl.so else $(addprefix $(objpfx),$(tests)): $(objpfx)libpthread.a $(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.a |