2011-02-17 05:59:15 +00:00
|
|
|
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.
|
2020-02-07 20:08:08 +00:00
|
|
|
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))
|
2011-02-17 05:59:15 +00:00
|
|
|
endif
|
2011-12-18 01:32:59 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),string)
|
2015-07-28 18:34:25 +00:00
|
|
|
sysdep_routines += strstr-ppc64
|
2011-12-18 01:32:59 +00:00
|
|
|
CFLAGS-strncase.c += -funroll-loops
|
|
|
|
CFLAGS-strncase_l.c += -funroll-loops
|
|
|
|
endif
|