* csu/Makefile ($(objpfx)elf-init.oS): New target, just clone

elf-init.o instead of compiling a PIC version.
This commit is contained in:
Roland McGrath 2002-12-11 23:13:29 +00:00
parent 0f1316460c
commit 6161ef14c3
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-12-11 Roland McGrath <roland@redhat.com>
* csu/Makefile ($(objpfx)elf-init.oS): New target, just clone
elf-init.o instead of compiling a PIC version.
2002-12-11 Bruno Haible <bruno@clisp.org>
* intl/gettext.h: Renamed to ...

View File

@ -139,6 +139,11 @@ define link-relocatable
$(CC) -nostdlib -nostartfiles -r -o $@ $^
endef
# We don't want this compiled with PIC.
# It's never included in shared libraries, unlike the rest of libc_nonshared.a.
$(objpfx)elf-init.oS: $(objpfx)elf-init.o
ln -f $< $@
ifndef start-installed-name-rule
ifeq (yes,$(elf))
# We link the ELF startfile along with a SHT_NOTE section indicating