aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/config.gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/gcc/config.gcc')
-rw-r--r--gcc-4.4.3/gcc/config.gcc10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc-4.4.3/gcc/config.gcc b/gcc-4.4.3/gcc/config.gcc
index 321cf5543..755b90dd0 100644
--- a/gcc-4.4.3/gcc/config.gcc
+++ b/gcc-4.4.3/gcc/config.gcc
@@ -515,7 +515,7 @@ case ${target} in
tm_defines="$tm_defines OPTION_GLIBC=1";;
esac
case $target in
- *-*-*android*)
+ *-*-*android* | *-android-linux-*)
tm_defines="$tm_defines DEFAULT_LIBC=LIBC_BIONIC"
;;
*-*-*uclibc*)
@@ -538,7 +538,7 @@ case ${target} in
esac
# Enable compilation for Android by default for *android* targets.
case $target in
- *-*-*android*)
+ *-*-*android* | *-android-linux-*)
tm_defines="$tm_defines ANDROID_DEFAULT=1"
;;
*)
@@ -1628,6 +1628,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
test x$with_llsc != x || with_llsc=yes
;;
mips*-*-openbsd*)