aboutsummaryrefslogtreecommitdiff
path: root/tests/complex_force_long_double_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-09-14 15:30:08 -0700
committerElliott Hughes <enh@google.com>2017-09-14 16:10:43 -0700
commit50cda38f1ddfb0216e986f60cdc877fb9c55ebba (patch)
treefb702878229b8b64a5386ece09d32653b7c6a3e4 /tests/complex_force_long_double_test.cpp
parent3b64f8ecb3db49574cc5b7c6030be98c159be4d4 (diff)
downloadbionic-50cda38f1ddfb0216e986f60cdc877fb9c55ebba.tar.gz
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
Diffstat (limited to 'tests/complex_force_long_double_test.cpp')
-rw-r--r--tests/complex_force_long_double_test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/complex_force_long_double_test.cpp b/tests/complex_force_long_double_test.cpp
new file mode 100644
index 000000000..2ea7bd449
--- /dev/null
+++ b/tests/complex_force_long_double_test.cpp
@@ -0,0 +1,2 @@
+#define __BIONIC_LP32_USE_LONG_DOUBLE
+#include "complex_test.cpp"