aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config.gcc
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-04-14 16:41:52 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2014-04-22 15:32:56 -0700
commit12bd1931fd8a295e88a39aebc4f6c0ef98add4f5 (patch)
treeead63640d07be3b3072856c087069e885213158a /gcc-4.9/gcc/config.gcc
parent729619cb26b27db827d5dca9f5d4e0ecf5c1e23d (diff)
downloadtoolchain_gcc-12bd1931fd8a295e88a39aebc4f6c0ef98add4f5.tar.gz
toolchain_gcc-12bd1931fd8a295e88a39aebc4f6c0ef98add4f5.tar.bz2
toolchain_gcc-12bd1931fd8a295e88a39aebc4f6c0ef98add4f5.zip
[4.9] Port MIPS Android support to GCC-4.9
See 75b9f722caccc5276fc9c236b9ccb3f7888a86f8 Change-Id: Ia941c59bb94ab943c6ccc188b050daf1894d31d2
Diffstat (limited to 'gcc-4.9/gcc/config.gcc')
-rw-r--r--gcc-4.9/gcc/config.gcc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/config.gcc b/gcc-4.9/gcc/config.gcc
index 7e51940f1..af05ada39 100644
--- a/gcc-4.9/gcc/config.gcc
+++ b/gcc-4.9/gcc/config.gcc
@@ -1994,6 +1994,12 @@ mips*-*-linux*) # Linux MIPS, either endian.
mipsisa32*)
tm_defines="${tm_defines} MIPS_ISA_DEFAULT=32"
esac
+ case ${target} in
+ *android*)
+ # Default to little-endian for MIPS Android
+ # tm_defines="${tm_defines} TARGET_ENDIAN_DEFAULT=0"
+ tmake_file="$tmake_file mips/t-linux-android"
+ esac
;;
mips*-mti-elf*)
tm_file="elfos.h newlib-stdint.h ${tm_file} mips/elf.h mips/n32-elf.h mips/sde.h mips/mti-elf.h"