From f17b8fccbe099f90bfb925444739e15455259248 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Mon, 11 May 2015 13:30:41 -0700 Subject: Add -mno-odd-spreg option as default mode for mips32r6 android builds. Change-Id: Id19630f78848dc3ccfa564e2e925f892b8ea4433 --- gcc-4.9/gcc/config/mips/android.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc-4.9/gcc/config/mips/android.h') 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, \ \ -- cgit v1.2.3