commit | 50cda38f1ddfb0216e986f60cdc877fb9c55ebba | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Sep 14 15:30:08 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Sep 14 16:10:43 2017 -0700 |
tree | fb702878229b8b64a5386ece09d32653b7c6a3e4 | |
parent | 3b64f8ecb3db49574cc5b7c6030be98c159be4d4 [diff] [blame] |
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
diff --git a/libc/bionic/wcstod.cpp b/libc/bionic/wcstod.cpp index f7bd433..41df854 100644 --- a/libc/bionic/wcstod.cpp +++ b/libc/bionic/wcstod.cpp
@@ -26,6 +26,8 @@ * SUCH DAMAGE. */ +#define __BIONIC_LP32_USE_LONG_DOUBLE + #include <wchar.h> #include <stdlib.h>