* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.

Depend on $(before-compile).
This commit is contained in:
Roland McGrath 2003-05-04 23:27:34 +00:00
parent 4b0b588239
commit c6696b7957
6 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2003-05-04 Roland McGrath <roland@redhat.com>
* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
Depend on $(before-compile).
* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
pattern rule. The implicit rule could be ruled out when $(objpfx)
didn't exist at the time of its consideration (ugh!).

View File

@ -179,11 +179,9 @@ $(addprefix $(objpfx),$(sort g$(start-installed-name) \
# These extra files are sometimes expected by system standard linking
# procedures, but we have nothing for them to do. So compile empty files.
$(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):
@-rm -f $(@:.o=.c)
echo > $(@:.o=.c)
$(COMPILE.c) $(@:.o=.c) $(OUTPUT_OPTION)
rm -f $(@:.o=.c)
$(addprefix $(objpfx),$(filter-out $(start-installed-name),$(csu-dummies))):\
$(before-compile)
$(COMPILE.c) -o $@ -x c /dev/null
# These headers are used by the startup code.
$(objpfx)abi-tag.h: $(..)abi-tags

View File

@ -1,3 +1,7 @@
2003-05-04 Roland McGrath <roland@redhat.com>
* Makefile ($(objpfx)../libc.so): New target.
2003-04-26 Ulrich Drepper <drepper@redhat.com>
* pthread.c (__pthread_initialize_manager): Remove one last

View File

@ -222,6 +222,7 @@ $(addprefix $(objpfx), \
$(addprefix $(objpfx), $(tests-reverse)): \
$(objpfx)../libc.so $(objpfx)libpthread.so \
$(objpfx)libpthread_nonshared.a
$(objpfx)../libc.so: $(common-objpfx)libc.so ;
$(addprefix $(objpfx),$(librt-tests)): $(common-objpfx)rt/librt.so
$(objpfx)unload: $(common-objpfx)dlfcn/libdl.so
$(objpfx)unload.out: $(objpfx)libpthread.so $(objpfx)libpthread_nonshared.a

View File

@ -1,3 +1,7 @@
2003-05-04 Roland McGrath <roland@redhat.com>
* Makefile ($(objpfx)../libc.so): New target.
2003-05-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h

View File

@ -314,6 +314,7 @@ $(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so
$(addprefix $(objpfx), $(tests-reverse)): \
$(objpfx)../libc.so $(objpfx)libpthread.so \
$(objpfx)libpthread_nonshared.a
$(objpfx)../libc.so: $(common-objpfx)libc.so ;
$(addprefix $(objpfx),$(tests-static)): $(objpfx)libpthread.a
$(objpfx)tst-atfork2.out: $(objpfx)tst-atfork2mod.so