platform_bionic/libm
Elliott Hughes ab52807685 Update to FreeBSD libm r336665.
This reverts commit 253a830631 and moves
us forward to a revision that contains fixes for the problem with the
previous attempt.

This also makes sincos(3)/sincosf(3)/sincosl(3) available to `_BSD_SOURCE`
as well as `_GNU_SOURCE`.

The new FreeBSD libm code requires the FreeBSD `__CONCAT` macro, and all
our existing callers are FreeBSD too, so update that.

There's also an assumption that <complex.h> drags in <math.h> which isn't
true for us, so work around that with `-include` in the makefile. This
then causes clang to recognize a bug -- returning from a void function --
in our fake (LP32) sincosl(3), so fix that too.

Bug: http://b/111710419
Change-Id: I84703ad844f8afde6ec6b11604ab3c096ccb62c3
Test: ran tests
2018-07-24 10:36:00 -07:00
..
amd64 Move math headers in with the other headers. 2016-04-02 08:36:33 -07:00
arm Fix arm/arm64 <fenv.h> to match current reality. 2017-11-03 16:46:32 -07:00
arm64 Use builtins for fma/fmax/fmin/round on arm64. 2017-11-09 15:57:34 -08:00
i387 Make it possible to build bionic with -I instead of -isystem. 2016-07-22 13:12:53 -07:00
mips Move mips fenv implementation details into fenv.c. 2014-06-09 15:25:15 -07:00
upstream-freebsd Update to FreeBSD libm r336665. 2018-07-24 10:36:00 -07:00
upstream-netbsd/lib/libm Update to FreeBSD libm r336665. 2018-07-24 10:36:00 -07:00
x86 Minor copyright header unification. 2016-10-24 12:57:55 -07:00
x86_64 Minor copyright header unification. 2016-10-24 12:57:55 -07:00
Android.bp Update to FreeBSD libm r336665. 2018-07-24 10:36:00 -07:00
builtins.cpp Use builtins for fma/fmax/fmin/round on arm64. 2017-11-09 15:57:34 -08:00
digittoint.c Upgrade libm. 2013-02-01 14:51:19 -08:00
fake_long_double.c Update to FreeBSD libm r336665. 2018-07-24 10:36:00 -07:00
fpmath.h Switch the rest of our internal headers to #pragma once. 2018-02-13 14:27:17 -08:00
freebsd-compat.h Update to FreeBSD libm r336665. 2018-07-24 10:36:00 -07:00
libm.arm.map Add <glob.h>. 2017-09-26 18:46:09 -07:00
libm.arm64.map Add <glob.h>. 2017-09-26 18:46:09 -07:00
libm.map.txt Add missing libm introduced=26 annotations. 2017-08-29 11:45:31 -07:00
libm.mips.map Add <glob.h>. 2017-09-26 18:46:09 -07:00
libm.mips64.map Add <glob.h>. 2017-09-26 18:46:09 -07:00
libm.x86.map Add <glob.h>. 2017-09-26 18:46:09 -07:00
libm.x86_64.map Add <glob.h>. 2017-09-26 18:46:09 -07:00
MODULE_LICENSE_BSD_LIKE Initial Contribution 2008-10-21 07:00:00 -07:00
signbit.cpp Remove some legacy declarations from <math.h>. 2017-10-19 14:15:31 -07:00
significandl.c Clean-up _fpmath and fake_long_doubles 2014-04-23 19:03:06 +01:00