Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390).
commit22562bb222a91e0ecc416b19accd98e10c0d26be
authorJoseph Myers <joseph@codesourcery.com>
Fri, 3 Jan 2014 20:56:18 +0000 (3 20:56 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 3 Jan 2014 20:56:40 +0000 (3 20:56 +0000)
treeca6a3b3c34c8f2cce47ba4bcb982bfd4d0c481a1
parent0da43124a9b5c24fe2e877e3d94a4f3d859f0486
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.
ChangeLog
NEWS
sysdeps/powerpc/nofpu/Makefile