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 --- nptl/sysdeps/sparc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nptl/sysdeps') 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 -- cgit v1.1