]> sourceware.org Git - glibc.git/commitdiff
* csu/Makefile ($(objpfx)elf-init.oS): New target, just clone
authorRoland McGrath <roland@gnu.org>
Wed, 11 Dec 2002 23:13:29 +0000 (23:13 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 11 Dec 2002 23:13:29 +0000 (23:13 +0000)
elf-init.o instead of compiling a PIC version.

ChangeLog
csu/Makefile

index 3458ac6d873d9e03ff43bf88515edc34c910d828..9908132568e314b92d1cd08664de0260e7a43aae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 ...
index f3b099ee404d5fe85c04503da6c13fe7078d32d5..669e26c32d76bd58fa1191a4a573e18f0fb6f632 100644 (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
This page took 0.046329 seconds and 5 git commands to generate.