aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
diff options
context:
space:
mode:
authorSteve Ellcey <Steve.Ellcey@imgtec.com>2015-05-11 20:30:41 (GMT)
committerSteve Ellcey <Steve.Ellcey@imgtec.com>2015-05-11 20:30:41 (GMT)
commitf17b8fccbe099f90bfb925444739e15455259248 (patch)
tree7eb44f16272a7cbe1a97ebb08922bcce93add1b1 /gcc-4.9
parent0dd93631a0aa1b5c2f807270305225bc2786393b (diff)
downloadtoolchain_gcc-f17b8fccbe099f90bfb925444739e15455259248.zip
toolchain_gcc-f17b8fccbe099f90bfb925444739e15455259248.tar.gz
toolchain_gcc-f17b8fccbe099f90bfb925444739e15455259248.tar.bz2
Add -mno-odd-spreg option as default mode for mips32r6 android builds.
Change-Id: Id19630f78848dc3ccfa564e2e925f892b8ea4433
Diffstat (limited to 'gcc-4.9')
-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 e2bd6b3..32c539c 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, \
\