Add hidden_def.
[glibc.git] / sysdeps / powerpc / powerpc64 / Makefile
blob0ecba53650fb39f0f46b2f6a100f5f872f028002
1 # Powerpc64 specific build options.
2 # this is ./sysdeps/powerpc/powerpc64/Makefile
4 +cflags += -Wa,-mppc64 -mpowerpc64
5 asm-CPPFLAGS += -Wa,-mppc64
7 # Each TOC entry takes 8 bytes and the TOC holds up to 2^16 bytes,
8 # or 8192 entries.
9 # If -fpic is not specified, the latest gcc-3.2.1 now generates
10 # different code for call stubs (without the TOC reload).
11 # Shared objects need the TOC reload so specify -fpic.
12 ifeq (yes,$(build-shared))
13 pic-ccflag = -fpic
14 endif
16 ifeq ($(subdir),csu)
17 ifneq ($(elf),no)
18 # The initfini generation code doesn't work in the presence of -g1 or
19 # higher, so we use -g0.
20 CFLAGS-initfini.s = -g0 -fpic -O1
21 endif
22 endif
24 ifeq ($(subdir),elf)
25 # help gcc inline asm code from dl-machine.h
26 +cflags += --param max-inline-insns=2000
27 endif