summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-16 22:33:08 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-16 22:33:08 +0000
commit774a8fe8b430891353f2f581c63ad0159e903c8b (patch)
tree3315700c5042720be150566e43fbd78e78874b65 /linuxthreads
parenta68edba55127cc761378bb4c8eb7a2ca896e4fad (diff)
downloadglibc-774a8fe8b430891353f2f581c63ad0159e903c8b.tar.gz
glibc-774a8fe8b430891353f2f581c63ad0159e903c8b.tar.xz
glibc-774a8fe8b430891353f2f581c63ad0159e903c8b.zip
Update.
2001-07-13  H.J. Lu  <hjl@gnu.org>

	* sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed.
	(elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined.
	(RESOLVE_GOTSYM): Rewrite to use RESOLVE.

	* sysdeps/mips/rtld-ldscript.in: Removed.
	* sysdeps/mips/rtld-parms: Likewise.
	* sysdeps/mips/mips64/rtld-parms: Likewise.
	* sysdeps/mips/mipsel/rtld-parms: Likewise.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog9
-rw-r--r--linuxthreads/Makefile6
2 files changed, 12 insertions, 3 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index b4bab43888..ee9fb8491c 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,6 +1,13 @@
+2001-07-16  Andreas Schwab  <schwab@suse.de>
+
+	* Makefile (before-compile): Don't add $(objpfx)crti.o.
+	(omit-deps): Add crti.
+	($(objpfx)libpthread.so): Depend on $(objpfx)crti.o, but make sure
+	it is filtered out of the link command.
+
 2001-07-16  Ulrich Drepper  <drepper@redhat.com>
 
-	* pthread.c (pthread_initialize): For FLOATING_STACKS do't bother
+	* pthread.c (pthread_initialize): For FLOATING_STACKS don't bother
 	to find the right value for __pthread_initial_thread_bos, it's not
 	used.  If not FLOATING_STACKS first run
 	__pthread_init_max_stacksize.
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index df6c74a9cb..7869005e59 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -51,8 +51,8 @@ CFLAGS-tst-cancel.c = -fno-inline
 include ../Makeconfig
 
 ifeq ($(build-shared),yes)
-before-compile := $(objpfx)crti.o
-extra-objs = crti.o
+extra-objs += crti.o
+omit-deps += crti
 
 CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions
 endif
@@ -69,6 +69,8 @@ endif
 include ../Rules
 
 extra-B-pthread.so = -B$(common-objpfx)linuxthreads/
+$(objpfx)libpthread.so: $(objpfx)crti.o
+$(objpfx)libpthread.so: +preinit += $(objpfx)crti.o
 
 znodelete-yes = -DHAVE_Z_NODELETE
 CFLAGS-mutex.c += -D__NO_WEAK_PTHREAD_ALIASES