aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-07-07 19:28:04 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-07-07 19:28:04 +0800
commitbaf87df3cb2683649ba7e9872362a7e721117c23 (patch)
tree82c3bcd79501fb3e6daace482750dbf5232f8e1e
parente7af147f979e657fe2df00808e5b4319b0e088c6 (diff)
downloadtoolchain_gcc-baf87df3cb2683649ba7e9872362a7e721117c23.tar.gz
toolchain_gcc-baf87df3cb2683649ba7e9872362a7e721117c23.tar.bz2
toolchain_gcc-baf87df3cb2683649ba7e9872362a7e721117c23.zip
Fix mips64el-linux-android-4.9 build
Change-Id: I0ac4cccaeab9e4abd80667333aec4673fc50ca8c
-rw-r--r--gcc-4.9/gcc/config.gcc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/config.gcc b/gcc-4.9/gcc/config.gcc
index 41c9d81dc..3d687d2e8 100644
--- a/gcc-4.9/gcc/config.gcc
+++ b/gcc-4.9/gcc/config.gcc
@@ -1969,14 +1969,15 @@ mips*-mti-linux*)
mips64*-*-linux* | mipsisa64*-*-linux*)
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h"
extra_options="${extra_options} linux-android.opt"
+ tmake_file="${tmake_file} mips/t-linux64"
case ${target} in
*android*)
# Default to ABI_64 for MIPS64 Android
tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_64"
+ tm_defines="${tm_defines} MIPS_ISA_DEFAULT=69"
;;
*)
tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
- tmake_file="${tmake_file} mips/t-linux64"
;;
esac
case ${target} in