aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-12-18 14:51:12 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-12-26 10:48:26 +0800
commit5be615df32ce970fcccda93cf577e9ce35b1d397 (patch)
tree9a9fa5d40bb7067774f368308fcda426fe8989bb /gcc-4.6
parent7e86d8e5915996f4d075098d8cd4f3598adefbb3 (diff)
downloadtoolchain_gcc-5be615df32ce970fcccda93cf577e9ce35b1d397.tar.gz
toolchain_gcc-5be615df32ce970fcccda93cf577e9ce35b1d397.tar.bz2
toolchain_gcc-5be615df32ce970fcccda93cf577e9ce35b1d397.zip
[4.6, 4.8] Add additional multilib option: mfloat-abi=hard
Only available with "-march=armv7-a", this CL add two set of libraries 1. "armv7-a/hard": -march=armv7-a -mfloat-abi=hard 2. "armv7-a/thumb/hard": -march=armv7-a -mthumb -mfloat-abi=hard Note that -mhard-float implies -mfloat-abi=hard, which in turns select one of the above /hard libraries dependeing on the presence of -mthumb or not. (ie. no need to explicitly specifly -mfloat-abi=hard after -mhard-float) Change-Id: Ib803ecaa911082d6bc4f98b542d7d28e98be6726
Diffstat (limited to 'gcc-4.6')
-rw-r--r--gcc-4.6/gcc/config/arm/t-linux-androideabi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc-4.6/gcc/config/arm/t-linux-androideabi b/gcc-4.6/gcc/config/arm/t-linux-androideabi
index 8f1307c55..cbbec5bd2 100644
--- a/gcc-4.6/gcc/config/arm/t-linux-androideabi
+++ b/gcc-4.6/gcc/config/arm/t-linux-androideabi
@@ -1,8 +1,9 @@
-MULTILIB_OPTIONS = march=armv7-a mthumb
-MULTILIB_DIRNAMES = armv7-a thumb
-MULTILIB_EXCEPTIONS =
+MULTILIB_OPTIONS = march=armv7-a mthumb mfloat-abi=hard
+MULTILIB_DIRNAMES = armv7-a thumb hard
+MULTILIB_EXCEPTIONS = mfloat-abi=hard* mthumb/mfloat-abi=hard*
MULTILIB_MATCHES =
MULTILIB_OSDIRNAMES =
+MULTILIB_EXTRA_OPTS = Wl,--no-warn-mismatch
# The "special" multilib can be used to build native applications for Android,
# as opposed to native shared libraries that are then called via JNI.