aboutsummaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-14 06:29:32 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-14 06:29:32 +0000
commit1ad318d3695d760eebec28cb7c3c32df06b7d85e (patch)
treece66f6f2e9c04a65a4c6a1a4d4b978ebc3c88a58 /csu
parentd7234d9fac0c0f750775d696acec9a79809c517c (diff)
downloadglibc-1ad318d3695d760eebec28cb7c3c32df06b7d85e.zip
glibc-1ad318d3695d760eebec28cb7c3c32df06b7d85e.tar.gz
glibc-1ad318d3695d760eebec28cb7c3c32df06b7d85e.tar.bz2
Update.
* csu/Makefile: Do compile elf-init with PIC flag since in dynamic binaries it has to be relocatable.
Diffstat (limited to 'csu')
-rw-r--r--csu/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/csu/Makefile b/csu/Makefile
index d1899ad..0920f97 100644
--- a/csu/Makefile
+++ b/csu/Makefile
@@ -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.