summaryrefslogtreecommitdiff
path: root/linker/linker_main.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-07-24 00:01:52 +0000
committerElliott Hughes <enh@google.com>2018-07-24 10:36:00 -0700
commitab528076854c7bc2bb5ad30ead5aadf630fb7de8 (patch)
tree442c4c850041694a4139f8176b1eb86cf78f4a25 /linker/linker_main.cpp
parent94ab04c17a0e9f412b7de079f2ef35f39c7f06fc (diff)
Update to FreeBSD libm r336665.
This reverts commit 253a8306316cedfd6fd3e3a169fbffe4cac04035 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
Diffstat (limited to 'linker/linker_main.cpp')
0 files changed, 0 insertions, 0 deletions