diff options
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r-- | sysdeps/powerpc/powerpc32/Makefile | 3 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/Makefile | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc32/Makefile b/sysdeps/powerpc/powerpc32/Makefile index ed24484..84a9841 100644 --- a/sysdeps/powerpc/powerpc32/Makefile +++ b/sysdeps/powerpc/powerpc32/Makefile @@ -23,7 +23,6 @@ pic-ccflag = -fpic endif ifeq ($(subdir),csu) -ifneq ($(elf),no) # The initfini generation code doesn't work in the presence of -fPIC, so # we use -fpic instead which is much better. CFLAGS-initfini.s += -fpic -O1 @@ -32,7 +31,7 @@ CFLAGS-initfini.s += -fpic -O1 # of the library should be able to control what goes into sdata. CFLAGS-init.o = -G0 CFLAGS-gmon-start.o = -G0 -endif + ifeq (yes,$(build-shared)) # Compatibility ifeq (yes,$(have-protected)) diff --git a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/Makefile index 9056e60..efaa296 100644 --- a/sysdeps/powerpc/powerpc64/Makefile +++ b/sysdeps/powerpc/powerpc64/Makefile @@ -28,12 +28,10 @@ no-special-regs := $(sort $(foreach n,40 41 50 51 60 61 62 63 \ ifeq ($(subdir),csu) sysdep_routines += hp-timing elide-routines.os += hp-timing -ifneq ($(elf),no) # The initfini generation code doesn't work in the presence of -fPIC, so # we use -fpic instead which is much better. CFLAGS-initfini.s += -fpic -O1 endif -endif ifeq ($(subdir),elf) # help gcc inline asm code from dl-machine.h |