aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@kugelworks.com>2013-12-10 08:24:10 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2013-12-10 08:24:10 +0000
commited9cbf7c9cbbd439b689cb988eceabcb3301fbd3 (patch)
tree4b892747a74b18ff7f6089b2451b78619e34ef96 /gcc/config.gcc
parentf644a018e3452a41cb4ce49cb47179845a63b546 (diff)
downloadgcc-ed9cbf7c9cbbd439b689cb988eceabcb3301fbd3.zip
gcc-ed9cbf7c9cbbd439b689cb988eceabcb3301fbd3.tar.gz
gcc-ed9cbf7c9cbbd439b689cb988eceabcb3301fbd3.tar.bz2
Fix mips64-linux and s390x-linux builds.
* config.gcc (mips*-mti-linux*, mips64*-*-linux*): Add android definitions. (s390x-*-linux*): Use linux-protos.h. From-SVN: r205849
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 93743d8..8464d8f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1918,14 +1918,16 @@ mips*-*-netbsd*) # NetBSD/mips, either endian.
extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
;;
mips*-mti-linux*)
- tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h mips/mti-linux.h"
+ 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 mips/mti-linux.h"
+ extra_options="${extra_options} linux-android.opt"
tmake_file="${tmake_file} mips/t-mti-linux"
tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33 MIPS_ABI_DEFAULT=ABI_32"
gnu_ld=yes
gas=yes
;;
mips64*-*-linux* | mipsisa64*-*-linux*)
- tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} mips/gnu-user.h mips/gnu-user64.h mips/linux64.h mips/linux-common.h"
+ 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"
tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32"
case ${target} in
@@ -2387,7 +2389,7 @@ s390-*-linux*)
s390x-*-linux*)
default_gnu_indirect_function=yes
tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h s390/linux.h"
- tm_p_file=s390/s390-protos.h
+ tm_p_file="linux-protos.h s390/s390-protos.h"
md_file=s390/s390.md
extra_modes=s390/s390-modes.def
out_file=s390/s390.c