From 0fb7851fce038b80be60eae2d66d60f337a60e14 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Jul 2000 00:15:14 +0000 Subject: Update. * elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). (tests-nodelete-yes): Define. (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). Add rules to build nodelete and modules. * elf/nodelete.c: New file. * elf/nodelmod1.c: New file. * elf/nodelmod2.c: New file. * configure.in: Add test for -z nodelete option. * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete. --- linuxthreads/ChangeLog | 5 +++++ linuxthreads/Makefile | 3 +++ 2 files changed, 8 insertions(+) (limited to 'linuxthreads') diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index c92f945b90..0b094a87dc 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,8 @@ +2000-07-20 Ulrich Drepper + + * Makefile: Pass -z nodelete to linker for libpthread.so + generation if it understand this option. + 2000-07-18 Mark Kettenis * manager.c (pthread_handle_create): Remove initialization of diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile index 0bdaaf291c..84fbbd844b 100644 --- a/linuxthreads/Makefile +++ b/linuxthreads/Makefile @@ -37,6 +37,9 @@ libpthread-routines := attr cancel condvar join manager mutex ptfork \ semaphore spinlock wrapsyscall rwlock pt-machine \ oldsemaphore events getcpuclockid pspinlock barrier +nodelete-yes = -Wl,--enable-new-dtags,-z,nodelete +LDFLAGS-pthread.so = $(nodelete-$(have-z-nodelete)) + vpath %.c Examples tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 ex10 ex11 joinrace -- cgit v1.2.3