aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-01-22 18:21:18 -0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-02-10 15:33:11 +0800
commit748416e5a7654ce6cfce9f680cf4e7a9728bd6be (patch)
treef0a969caa134cbce9e90ee08f7550fefe91d624f /ndk-gdb
parent3f33a98dd64fe5a0c9934ffb8f2fb03eaab91c3d (diff)
downloadndk-748416e5a7654ce6cfce9f680cf4e7a9728bd6be.tar.gz
Support APP_ABI=armeabi-v7a-hard
Add a new NDK-only ABI armeabi-v7a-hard in order to solve -mfloat-abi=hard issue. 1. Note that this is NDK-only ABI. No known devices support armeabi-v7a-hard, and they can't w/o breaking existing float-abi=softfp code 2. APP_ABI=armeabi-v7a-hard still installs libraries in libs/armeabi-v7a. As a result, armeabi-v7a-hard and armeabi-v7a can't co-exist ("make" will ignore one of the "install"), unless when _NDK_TESTING_ALL_=yes for internal testing (where lib is installed to libs/armeabi-v7a-hard) 3. Both GCC 4.6/4.8 and Clang3.3/3.4 has additional multilib option "-mfloat-abi=hard" to look for libraries in /hard sub-directory. 5be615df32ce970fcccda93cf577e9ce35b1d397 (gcc4.6,4.8) 7e8798057dc5f28b44b5608fd98fff1cba6909a2 (clang3.4) deedd8557b7d82c6931b6942bd39a00127780835 (clang3.3) 4. APP_ABI=all still expand to armeabi,armeabi-v7a,x86,mips Change-Id: I08c26bfa6580c80260185c2fef398848aebd197d
Diffstat (limited to 'ndk-gdb')
-rwxr-xr-xndk-gdb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndk-gdb b/ndk-gdb
index e25caaddc..1bb42342f 100755
--- a/ndk-gdb
+++ b/ndk-gdb
@@ -506,6 +506,8 @@ if [ "$APP_ABIS" != "${APP_ABIS%%all*}" ] ; then
APP_ABIS_BACK="${APP_ABIS#*all}"
APP_ABIS="${APP_ABIS_FRONT}${ALL_ABIS}${APP_ABIS_BACK}"
fi
+# replace "armeabi-v7a-hard" with "armeabi-v7a"
+APP_ABIS=`echo $APP_ABIS | sed -e 's/armeabi-v7a-hard/armeabi-v7a/g'`
log "ABIs targetted by application: $APP_ABIS"
# Check the ADB command, and that we can connect to the device/emulator