aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-04-03 09:17:56 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-04-03 09:17:56 +0000
commit9200d6c868bca76513fe895f2a629658174f5316 (patch)
tree2d1466559c15d4b47a081aa9b6bea3d4d4b84343 /gcc/config.gcc
parentf0920e6c645e58c9fa456ff58b3ac0898e835cb2 (diff)
downloadgcc-9200d6c868bca76513fe895f2a629658174f5316.zip
gcc-9200d6c868bca76513fe895f2a629658174f5316.tar.gz
gcc-9200d6c868bca76513fe895f2a629658174f5316.tar.bz2
config.gcc (mips-wrs-vxworks): Add vx-common.h to tm_file.
gcc/ * config.gcc (mips-wrs-vxworks): Add vx-common.h to tm_file. Set the default --with-arch setting to mips2. * config/mips/t-vxworks (MULTILIB_OPTIONS, MULTILIB_MATCHES) (MULTILIB_EXCEPTIONS): Redefine with new multilibs. (MULTILIB_OSDIRNAMES): Delete. (MULTILIB_DIRNAMES): Define. * config/mips/vxworks.h (LINK_SPEC): Add VXWORKS_LINK_SPEC. (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Define. (TARGET_OS_CPP_BUILTINS): Incorporate old SUBTARGET_CPP_SPEC definitions, except for _WRS_R3K_EXC_SUPPORT. Call VXWORKS_OS_CPP_BUILTINS. (SUBTARGET_CPP_SPEC): Redefine to VXWORKS_ADDITIONAL_CPP_SPEC. (MIPS_DEBUGGING_INFO): Undefine. (FUNCTION_PROFILER): Define to VXWORKS_FUNCTION_PROFILER. From-SVN: r123459
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 476f7bd..14f79d6 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1708,7 +1708,7 @@ mips*-*-rtems*)
mips-wrs-vxworks)
# We want vxworks.h after mips/elf.h, which unfortunately means we
# have to redo the tm_file list from scratch.
- tm_file="elfos.h mips/mips.h svr4.h mips/elf.h vxworks.h mips/vxworks.h"
+ tm_file="elfos.h mips/mips.h svr4.h mips/elf.h vx-common.h vxworks.h mips/vxworks.h"
tmake_file="${tmake_file} mips/t-vxworks"
;;
mips-wrs-windiss) # Instruction-level simulator for VxWorks.
@@ -2692,6 +2692,9 @@ if test x$with_cpu = x ; then
;;
esac
;;
+ mips*-*-vxworks)
+ with_arch=mips2
+ ;;
sparc*-*-*)
with_cpu="`echo ${target} | sed 's/-.*$//'`"
;;