aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2012-04-24 18:23:12 +0000
committerChao-ying Fu <chaoyingfu@gcc.gnu.org>2012-04-24 18:23:12 +0000
commit3eab78f4e61cc95bb25cab00010d52680ba578f1 (patch)
tree4cd8ec9ac6be53676fd43c78648297349efb278c /gcc/config.gcc
parente900e6bd3072d0683c96c1ebfdaf214521f1e6db (diff)
downloadgcc-3eab78f4e61cc95bb25cab00010d52680ba578f1.zip
gcc-3eab78f4e61cc95bb25cab00010d52680ba578f1.tar.gz
gcc-3eab78f4e61cc95bb25cab00010d52680ba578f1.tar.bz2
config.gcc (mips64*-*-linux*): Append mips/linux-common.h to tm_file.
2012-04-24 Chao-ying Fu <fu@mips.com> * 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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc3
1 files changed, 2 insertions, 1 deletions
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"