mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
8dd5f2edc7
2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com> * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Use +=, not =, to append. Remove duplicate flags. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Likewise. Fix comments. [BZ #1137]
32 lines
923 B
Makefile
32 lines
923 B
Makefile
# Powerpc64 specific build options.
|
|
# this is ./sysdeps/powerpc/powerpc64/Makefile
|
|
|
|
# Each TOC entry takes 8 bytes and the TOC holds up to 2^16 bytes,
|
|
# or 8192 entries.
|
|
# If -fpic is not specified, the latest gcc-3.2.1 now generates
|
|
# different code for call stubs (without the TOC reload).
|
|
# Shared objects need the TOC reload so specify -fpic.
|
|
ifeq (yes,$(build-shared))
|
|
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
|
|
endif
|
|
endif
|
|
|
|
ifeq ($(subdir),elf)
|
|
# help gcc inline asm code from dl-machine.h
|
|
+cflags += -finline-limit=2000
|
|
endif
|
|
|
|
ifeq ($(subdir),gmon)
|
|
# The assembly functions assume that fp arg regs are not trashed.
|
|
# Compiling with -msoft-float ensures that fp regs are not used
|
|
# for moving memory around.
|
|
CFLAGS-mcount.c += -msoft-float
|
|
endif
|