From 50cda38f1ddfb0216e986f60cdc877fb9c55ebba Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 14 Sep 2017 15:30:08 -0700 Subject: Use __RENAME for long double functions. We can cut a lot of stuff out of the NDK's libandroid_support with this, and reduce unnecessary relocations for all LP32 code. LP64 code should be unaffected. Bug: https://issuetracker.google.com/64450768 Bug: https://github.com/android-ndk/ndk/issues/507 Test: ran tests, plus manual readelf on the _test.o files Change-Id: I3de6015921195304ea9c829ef31665cd34664066 --- libc/bionic/wcstod.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/bionic/wcstod.cpp') diff --git a/libc/bionic/wcstod.cpp b/libc/bionic/wcstod.cpp index f7bd4337f..41df85455 100644 --- a/libc/bionic/wcstod.cpp +++ b/libc/bionic/wcstod.cpp @@ -26,6 +26,8 @@ * SUCH DAMAGE. */ +#define __BIONIC_LP32_USE_LONG_DOUBLE + #include #include -- cgit v1.2.3