aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2015-05-12 00:25:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-05-12 00:25:31 +0000
commit1961df0f2c1c5f01e1e68f2db63151bcfc5aaa6f (patch)
tree6007dcfa20d07e291298b66f6c7b69d3be900337 /gcc-4.9/gcc/config
parentf337190e2f75ceb93b7080d0bef9b8d7253b8014 (diff)
parentf17b8fccbe099f90bfb925444739e15455259248 (diff)
downloadtoolchain_gcc-1961df0f2c1c5f01e1e68f2db63151bcfc5aaa6f.tar.gz
toolchain_gcc-1961df0f2c1c5f01e1e68f2db63151bcfc5aaa6f.tar.bz2
toolchain_gcc-1961df0f2c1c5f01e1e68f2db63151bcfc5aaa6f.zip
Merge "Add -mno-odd-spreg option as default mode for mips32r6 android builds."
Diffstat (limited to 'gcc-4.9/gcc/config')
-rw-r--r--gcc-4.9/gcc/config/mips/android.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config/mips/android.h b/gcc-4.9/gcc/config/mips/android.h
index e2bd6b338..32c539c8d 100644
--- a/gcc-4.9/gcc/config/mips/android.h
+++ b/gcc-4.9/gcc/config/mips/android.h
@@ -39,6 +39,9 @@ along with GCC; see the file COPYING3. If not see
"%{!msoft-float: %{!msingle-float: %{!mfp*: %{!mmsa: %{mabi=32: %{" \
MIPS_FPXX_OPTION_SPEC ": -mfpxx}}}}}}", \
\
+ /* If no odd-spreg option is specified, infer one from the ISA. */ \
+ "%{!modd-spreg: %{mabi=32: %{mips32r6: -mno-odd-spreg}}}", \
+ \
/* Base SPECs. */ \
BASE_DRIVER_SELF_SPECS, \
\