From 3eab78f4e61cc95bb25cab00010d52680ba578f1 Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Tue, 24 Apr 2012 18:23:12 +0000 Subject: config.gcc (mips64*-*-linux*): Append mips/linux-common.h to tm_file. 2012-04-24 Chao-ying Fu * config.gcc (mips64*-*-linux*): Append mips/linux-common.h to tm_file. (mips*-*-linux*): Append mips/linux-common.h to tm_file. * config/mips/gnu-user.h (SUBTARGET_CC1_SPEC): Use GNU_USER_TARGET_CC1_SPEC directly. (GNU_USER_TARGET_LINK_SPEC): New define. (LINK_SPEC): Use GNU_USER_TARGET_LINK_SPEC. (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC directly. (GNU_USER_TARGET_MATHFILE_SPEC): New define. (ENDFILE_SPEC): Use GNU_USER_TARGET_MATHFILE_SPEC and GNU_USER_TARGET_ENDFILE_SPEC. * config/mips/gnu-user64.h (LIB_SPEC): Remove. (GNU_USER_TARGET_LINK_SPEC): New define. (LINK_SPEC): Use GNU_USER_TARGET_LINK_SPEC. * config/mips/linux-common.h: New file. From-SVN: r186777 --- gcc/config.gcc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/config.gcc') diff --git a/gcc/config.gcc b/gcc/config.gcc index 63d6612..6e4666e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1712,7 +1712,7 @@ mips*-*-netbsd*) # NetBSD/mips, either endian. extra_options="${extra_options} netbsd.opt netbsd-elf.opt" ;; 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" + 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" tmake_file="${tmake_file} mips/t-linux64" tm_defines="${tm_defines} MIPS_ABI_DEFAULT=ABI_N32" case ${target} in @@ -1738,6 +1738,7 @@ mips*-*-linux*) # Linux MIPS, either endian. tm_file="${tm_file} mips/gnu-user64.h mips/linux64.h" tmake_file="${tmake_file} mips/t-linux64" fi + tm_file="${tm_file} mips/linux-common.h" case ${target} in mipsisa32r2*) tm_defines="${tm_defines} MIPS_ISA_DEFAULT=33" -- cgit v1.1