From: Roland McGrath Date: Wed, 11 Dec 2002 23:13:29 +0000 (+0000) Subject: * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone X-Git-Tag: cvs/glibc-2_3_2~573 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6161ef14c3a27847bd9c8b85e7d92ff75dd80c8a;p=glibc.git * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone elf-init.o instead of compiling a PIC version. --- diff --git a/ChangeLog b/ChangeLog index 3458ac6d87..9908132568 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-12-11 Roland McGrath + + * csu/Makefile ($(objpfx)elf-init.oS): New target, just clone + elf-init.o instead of compiling a PIC version. + 2002-12-11 Bruno Haible * intl/gettext.h: Renamed to ... diff --git a/csu/Makefile b/csu/Makefile index f3b099ee40..669e26c32d 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -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