OSDN Git Service

libm symbol cleanup.
authorElliott Hughes <enh@google.com>
Fri, 14 Jul 2017 00:30:06 +0000 (17:30 -0700)
committerElliott Hughes <enh@google.com>
Fri, 14 Jul 2017 00:33:15 +0000 (17:33 -0700)
commit5ea0b0667f884b218dacd2cd93c3970b9e37bf34
tree2291d61ace3ae4b59a5c0167e93051e8eb4b1106
parent03e9c498d4909d1f791800cae0d59db63a348328
libm symbol cleanup.

Some of this code is used in the NDK libandroid_support now, as a static
library, so just being HIDDEN in the ELF sense isn't sufficient.

Rename digittoint to __libm_digittoint so we don't trample anyone's toes.

Also remove imprecise_powl and imprecise_tgammal. It turns out (to my
surprise) that we don't even have ld128 implementations of powl and tgammal,
so even LP64 was just using the "fake_long_double.c" hack in effect. Since
that's the case, let's *actually* do that because then we're not polluting
with the internal names in addition to the aliases.

Bug: N/A
Test: readelf
Change-Id: I273cc8fdc7ce53f9b8dfd4ef7796e358fe901837
libc/NOTICE
libm/Android.bp
libm/fake_long_double.c
libm/freebsd-compat.h
libm/upstream-freebsd/lib/msun/src/imprecise.c [deleted file]