diff options
Diffstat (limited to 'linuxthreads')
-rw-r--r-- | linuxthreads/ChangeLog | 9 | ||||
-rw-r--r-- | linuxthreads/Makefile | 6 |
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 |