mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 09:40:13 +00:00
57651ee4c8
Some of these files depend on the avoidance of using the various register sets of POWER. When enabling the IEEE 128 long double, we must be sure to disable this ABI as some compilers will refuse to compile if -mno-vsx and -mabi=ieeelongdouble are both present. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16 lines
548 B
Makefile
16 lines
548 B
Makefile
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
|