Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 14 May 2003 06:29:32 +0000 (06:29 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 14 May 2003 06:29:32 +0000 (06:29 +0000)
* csu/Makefile: Do compile elf-init with PIC flag since in dynamic
binaries it has to be relocatable.

ChangeLog
csu/Makefile

index 4e4ca57..4fe37ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-05-13  Ulrich Drepper  <drepper@redhat.com>
 
+       * csu/Makefile: Do compile elf-init with PIC flag since in dynamic
+       binaries it has to be relocatable.
+
        * sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.
 
 2003-05-12  Steven Munroe  <sjmunroe@us.ibm.com>
index d1899ad..0920f97 100644 (file)
@@ -83,11 +83,6 @@ ifeq ($(have-initfini),yes)
 
 CPPFLAGS += -DHAVE_INITFINI
 
-# We don't want this compiled with PIC.
-# It's never included in shared libraries, unlike the rest of libc_nonshared.a.
-CPPFLAGS-elf-init.oS = $(patsubst %,-UPIC,$(pic-ccflag))
-CFLAGS-elf-init.oS = $(patsubst -f%,-fno-%,$(pic-ccflag))
-
 # These are the special initializer/finalizer files.  They are always the
 # first and last file in the link.  crti.o ... crtn.o define the global
 # "functions" _init and _fini to run the .init and .fini sections.