From f63f338062e1d390330484412840467b0ec659b0 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 16 Feb 2012 12:54:05 -0800 Subject: 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 --- sysdeps/sparc/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/sparc/Makefile') diff --git a/sysdeps/sparc/Makefile b/sysdeps/sparc/Makefile index 735e4a40db..45609d55f1 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 -- cgit 1.4.1