aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-10-10 19:12:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-10-10 19:12:09 +0000
commitbd878fc030be17ee4b79ecd1d63a8f40271ee2da (patch)
tree7ec32df606fc6056edb9afe1e655f3b3233918c0
parent6f10289efb65e97917ebe42686f492a0037ec129 (diff)
downloadglibc-bd878fc030be17ee4b79ecd1d63a8f40271ee2da.tar
glibc-bd878fc030be17ee4b79ecd1d63a8f40271ee2da.tar.gz
glibc-bd878fc030be17ee4b79ecd1d63a8f40271ee2da.tar.bz2
glibc-bd878fc030be17ee4b79ecd1d63a8f40271ee2da.zip
Extend powerpc-nofpu -fno-builtin-fabsl workaround to more files.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/powerpc/nofpu/Makefile6
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d7d764f886..f2d350b56c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/sysdeps/powerpc/nofpu/Makefile b/sysdeps/powerpc/nofpu/Makefile
index 6bdff45465..b9cbf80230 100644
--- a/sysdeps/powerpc/nofpu/Makefile
+++ b/sysdeps/powerpc/nofpu/Makefile
@@ -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