about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/power7/Makefile
blob: 9a0e7474bb1e360f06fef29b6571974c76cc318c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ifeq ($(subdir),elf)
# Prevent the use of VSX registers and insns in _dl_start, which under -O3
# optimization may require a TOC reference before relocations are resolved.
CFLAGS-rtld.c += $(ibm128-abi-CFLAGS) -mno-vsx

# Likewise, remove options to build IEEE long double
$(foreach suf,$(all-object-suffixes),$(objpfx)rtld$(suf)): \
  sysdep-CFLAGS := $(filter-out -mabi=ieeelongdouble,$(sysdep-CFLAGS))
endif

ifeq ($(subdir),string)
sysdep_routines += strstr-ppc64
CFLAGS-strncase.c += -funroll-loops
CFLAGS-strncase_l.c += -funroll-loops
endif