commit | 5881b5cbe74089467517ed191b455a58430670db | [log] [tgz] |
---|---|---|
author | Andrew Hsieh <andrewhsieh@google.com> | Wed Oct 16 16:26:26 2013 +0800 |
committer | Andrew Hsieh <andrewhsieh@google.com> | Thu Oct 17 19:15:22 2013 +0800 |
tree | 614d38c2518a4bcec7d3228eb81c32ea1b179b1b | |
parent | a36935be2189bb9cdb8bf6aa4b16db66fd1521b4 [diff] |
Add __NDK_FPABI__ to function taking/returning float/double Allow user code to be compiled with "-mhard-float" for armeabi-v7a (which implies -mfloat-abi=hard), and either link with 1. Android native APIs which use softfp, or 2. A customized libm_hard.a which is compiled with -mhard-float. Need -D_NDK_MATH_NO_SOFTFP=1 See tests/device/hard-float/jni/Android.mk for details and restriction on Clang Change-Id: I773a842c73368e08b9a6cda0441e95a96fa303b2