Extend powerpc-nofpu -fno-builtin-fabsl workaround to more files.

This commit is contained in:
Joseph Myers 2013-10-10 19:12:09 +00:00
parent 6f10289efb
commit bd878fc030
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,13 @@
2013-10-10 Joseph Myers <joseph@codsourcery.com>
* sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
(CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
[$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
[$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
[$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
[$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
[$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
for NaNs before doing comparisons on argument.
* sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):

View File

@ -14,6 +14,7 @@ CPPFLAGS += -I../soft-fp/
# gcc-4.1.1 and may be too late for gcc-4.2. So we need these flags
# until the fix in a gcc release and glibc drops support for earlier
# versions of gcc.
CFLAGS-e_hypotl.c += -fno-builtin-fabsl
CFLAGS-e_powl.c += -fno-builtin-fabsl
CFLAGS-s_ccoshl.c += -fno-builtin-fabsl
CFLAGS-s_csinhl.c += -fno-builtin-fabsl
@ -21,4 +22,9 @@ CFLAGS-s_clogl.c += -fno-builtin-fabsl
CFLAGS-s_clog10l.c += -fno-builtin-fabsl
CFLAGS-s_csinl.c += -fno-builtin-fabsl
CFLAGS-s_csqrtl.c += -fno-builtin-fabsl
CFLAGS-w_acosl.c += -fno-builtin-fabsl
CFLAGS-w_asinl.c += -fno-builtin-fabsl
CFLAGS-w_atanhl.c += -fno-builtin-fabsl
CFLAGS-w_j0l.c += -fno-builtin-fabsl
CFLAGS-w_j1l.c += -fno-builtin-fabsl
endif