about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/Makefile3
2 files changed, 7 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 018667e550..910cb1953a 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-05  Ulrich Drepper  <drepper@redhat.com>
+
+	* Makefile (libc.so-no-z-defs): Define to yes.
+
 2003-01-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
 	* sysdeps/sh/tls.h: Include dl-sysdep.h	and stdint.h.
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index ff26e06eea..ef34cda0c3 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -171,6 +171,9 @@ $(objpfx)libc_pic_lite.os: $(objpfx)libc_pic_lite.a $(objpfx)libc-tsd.os
 	$(LINK.o) -nostdlib -nostartfiles -r -o $@ \
 		  $(LDFLAGS-c_pic.os) -Wl,-d -Wl,--whole-archive $^
 
+# This trick leaves errno and h_errno undefined.
+libc.so-no-z-defs = yes
+
 $(objpfx)libc.so: $(elfobjdir)/soinit.os \
 		  $(objpfx)libc_pic_lite.os \
 		  $(elfobjdir)/sofini.os \