aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-11-14 01:49:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-11-14 01:49:57 +0000
commita00edf3651884ae98892dab369555cf34c2996bc (patch)
tree9a9f4a6bca8a4af0c316dd2f8f64f870e0e44199 /docs
parent04e0ef57e3ac19e843c2d9bb61d8f594cc023845 (diff)
parent532389e89c0f6c0dded4efddea8b50db7ab66263 (diff)
downloadndk-a00edf3651884ae98892dab369555cf34c2996bc.tar.gz
Merge "Revise doc about armeabi-v7a"
Diffstat (limited to 'docs')
-rw-r--r--docs/text/CPU-ARCH-ABIS.text15
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/text/CPU-ARCH-ABIS.text b/docs/text/CPU-ARCH-ABIS.text
index 2abb27e57..3b7d9a0aa 100644
--- a/docs/text/CPU-ARCH-ABIS.text
+++ b/docs/text/CPU-ARCH-ABIS.text
@@ -110,14 +110,18 @@ I.2. 'armeabi-v7a'
building NEON-capable machine code too.
IMPORTANT NOTE: This ABI enforces that all double values are passed during
- function calls in 'core' register pairs, instead of dedicated FP ones.
- However, all internal computations can be performed with the FP registers
- and will be greatly sped up.
+ function calls in 'core' register pairs, instead of dedicated FP ones, via
+ switch -mfloat-abi=softfp. However, all internal computations can be performed
+ with the FP registers and will be greatly sped up.
This little constraint, while resulting in a slight decrease of
performance, ensures binary compatibility with all existing 'armeabi'
binaries.
+ Starting from r9b, it's possible to compile code in -mhard-float and still link
+ with Android native APIs which follow softfp. Please see
+ tests/device/hard-float/jni/Android.mk for details
+
IMPORTANT NOTE: The 'armeabi-v7a' machine code will *not* run on ARMv5 or
ARMv6 based devices.
@@ -286,6 +290,11 @@ in the .apk, for example at:
lib/x86/libfoo.so
lib/mips/libfoo.so
+IMPORTANT NOTE: ARMv7-based Android device running 4.0.3 or before installs native
+library from the 'armeabi' directory instead of 'armeabi-v7a' directory if both
+exist and 'lib/armeabi' is listed after 'lib/armeabi-v7a' in apk. This issue is
+fixed in 4.0.4 or later.
+
III.2. Android Platform ABI support:
------------------------------------