aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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, \
\