aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Ellcey <Steve.Ellcey@imgtec.com>2015-05-11 13:30:41 -0700
committerSteve Ellcey <Steve.Ellcey@imgtec.com>2015-05-11 13:30:41 -0700
commitf17b8fccbe099f90bfb925444739e15455259248 (patch)
tree7eb44f16272a7cbe1a97ebb08922bcce93add1b1
parent0dd93631a0aa1b5c2f807270305225bc2786393b (diff)
downloadtoolchain_gcc-f17b8fccbe099f90bfb925444739e15455259248.tar.gz
toolchain_gcc-f17b8fccbe099f90bfb925444739e15455259248.tar.bz2
toolchain_gcc-f17b8fccbe099f90bfb925444739e15455259248.zip
Add -mno-odd-spreg option as default mode for mips32r6 android builds.
Change-Id: Id19630f78848dc3ccfa564e2e925f892b8ea4433
-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, \
\