aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-02-16 12:54:05 -0800
committerDavid S. Miller <davem@davemloft.net>2012-02-16 12:54:05 -0800
commitf63f338062e1d390330484412840467b0ec659b0 (patch)
tree9ac3ceb3e60399af064f7279b7c74b17a37bb808 /sysdeps/sparc/Makefile
parentdf6a4a4aec992a20cdea2ad4cfc1341b3e96978b (diff)
downloadglibc-f63f338062e1d390330484412840467b0ec659b0.zip
glibc-f63f338062e1d390330484412840467b0ec659b0.tar.gz
glibc-f63f338062e1d390330484412840467b0ec659b0.tar.bz2
Move sparc away from the deprecated inifini.c scheme.
/ * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S * sysdeps/sparc/crti.S: New file. * sysdeps/sparc/crtn.S: New file. * sysdeps/sparc/sparc32/Makefile: Remove initfini handling. * sysdeps/sparc/sparc64/Makefile: Likewise. nptl/ * sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
Diffstat (limited to 'sysdeps/sparc/Makefile')
-rw-r--r--sysdeps/sparc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile
index 735e4a4..45609d5 100644
--- a/sysdeps/sparc/Makefile
+++ b/sysdeps/sparc/Makefile
@@ -14,4 +14,6 @@ endif
ifeq ($(subdir),csu)
# get offset to rtld_global._dl_hwcap
gen-as-const-headers += rtld-global-offsets.sym
+CPPFLAGS-crti.S += -fPIC
+CPPFLAGS-crtn.S += -fPIC
endif