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 /sysdeps/sparc/Makefile | |
parent | df6a4a4aec992a20cdea2ad4cfc1341b3e96978b (diff) | |
download | glibc-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/Makefile | 2 |
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 |