mirror of git://sourceware.org/git/glibc.git
Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390).
This patch fixes bug 16390, incorrect signs of zero results from ldbl-128ibm atan2l, soft-float only. The problem is a longstanding GCC bug with fabsl not being correct for signed zero for soft float, and the fix is using -fno-builtin-fabsl as a workaround, as already done for various other source files. Tested powerpc-nofpu. * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
This commit is contained in:
parent
0da43124a9
commit
22562bb222
|
@ -1,3 +1,9 @@
|
|||
2014-01-03 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #16390]
|
||||
* sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
|
||||
(CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
|
||||
|
||||
2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
|
||||
|
|
2
NEWS
2
NEWS
|
@ -24,7 +24,7 @@ Version 2.19
|
|||
16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172, 16195, 16214,
|
||||
16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337,
|
||||
16338, 16356, 16365, 16366, 16369, 16372, 16375, 16379, 16384, 16385,
|
||||
16386.
|
||||
16386, 16390.
|
||||
|
||||
* Slovenian translations for glibc messages have been contributed by the
|
||||
Translation Project's Slovenian team of translators.
|
||||
|
|
|
@ -15,6 +15,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_atan2l.c += -fno-builtin-fabsl
|
||||
CFLAGS-e_hypotl.c += -fno-builtin-fabsl
|
||||
CFLAGS-e_powl.c += -fno-builtin-fabsl
|
||||
CFLAGS-s_ccoshl.c += -fno-builtin-fabsl
|
||||
|
|
Loading…
Reference in New Issue