diff options
author | Steve Ellcey <Steve.Ellcey@imgtec.com> | 2014-07-15 15:10:50 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-07-17 18:03:00 +0800 |
commit | c231900e5dcc14d8296bd9f62b45997a49d4d5e7 (patch) | |
tree | ab4a183eee7cca336825e7c45b58c99638d31f83 /gcc-4.9/gcc/config.gcc | |
parent | 1a6666161c7e53383194203abfbe0367a804416f (diff) | |
download | toolchain_gcc-c231900e5dcc14d8296bd9f62b45997a49d4d5e7.zip toolchain_gcc-c231900e5dcc14d8296bd9f62b45997a49d4d5e7.tar.gz toolchain_gcc-c231900e5dcc14d8296bd9f62b45997a49d4d5e7.tar.bz2 |
Modify multilib usage for MIPS android platforms.
Fix mips32r6 multilib for mipsel-*android* target and create new multilib
config for mips64el-*android* target. Also modify default ABI and FPXX
settings for android based on -mips* flags.
Change-Id: Ib7b232182f3e4507f3804443f83a63b882af57da
Diffstat (limited to 'gcc-4.9/gcc/config.gcc')
-rw-r--r-- | gcc-4.9/gcc/config.gcc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/config.gcc b/gcc-4.9/gcc/config.gcc index 3d687d2..79f57de 100644 --- a/gcc-4.9/gcc/config.gcc +++ b/gcc-4.9/gcc/config.gcc @@ -1969,14 +1969,16 @@ 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_file="${tm_file} mips/android.h" + tmake_file="${tmake_file} mips/t-linux-android64" tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_64" tm_defines="${tm_defines} MIPS_ISA_DEFAULT=69" ;; *) + tmake_file="${tmake_file} mips/t-linux64" tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" ;; esac |