diff options
author | David S. Miller <davem@davemloft.net> | 2012-02-16 12:54:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-16 12:54:05 -0800 |
commit | f63f338062e1d390330484412840467b0ec659b0 (patch) | |
tree | 9ac3ceb3e60399af064f7279b7c74b17a37bb808 /nptl | |
parent | df6a4a4aec992a20cdea2ad4cfc1341b3e96978b (diff) | |
download | glibc-f63f338062e1d390330484412840467b0ec659b0.tar.gz glibc-f63f338062e1d390330484412840467b0ec659b0.tar.xz glibc-f63f338062e1d390330484412840467b0ec659b0.zip |
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/ChangeLog | 4 | ||||
-rw-r--r-- | nptl/sysdeps/sparc/Makefile | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 657c2b0278..bda2334c37 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 81bddf688c..5372867dbd 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 |