about summary refs log tree commit diff
path: root/linuxthreads/Makefile
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/Makefile
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/Makefile')
-rw-r--r--linuxthreads/Makefile6
1 files changed, 4 insertions, 2 deletions
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