aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/Makefile3
2 files changed, 8 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index c92f945..0b094a8 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-20 Ulrich Drepper <drepper@redhat.com>
+
+ * Makefile: Pass -z nodelete to linker for libpthread.so
+ generation if it understand this option.
+
2000-07-18 Mark Kettenis <kettenis@gnu.org>
* manager.c (pthread_handle_create): Remove initialization of
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 0bdaaf2..84fbbd8 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