aboutsummaryrefslogtreecommitdiff
path: root/nptl
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 /nptl
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 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/sparc/Makefile5
2 files changed, 9 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 657c2b0..bda2334 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-16 David S. Miller <davem@davemloft.net>
+
+ * sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
+
2012-02-15 Marek Polacek <polacek@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/Makefile: Remove file.
diff --git a/nptl/sysdeps/sparc/Makefile b/nptl/sysdeps/sparc/Makefile
index 81bddf6..5372867 100644
--- a/nptl/sysdeps/sparc/Makefile
+++ b/nptl/sysdeps/sparc/Makefile
@@ -1,3 +1,8 @@
ifeq ($(subdir),csu)
gen-as-const-headers += tcb-offsets.sym
endif
+
+ifeq ($(subdir),nptl)
+CPPFLAGS-pt-crti.S += -fPIC
+CPPFLAGS-crtn.S += -fPIC
+endif