summaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-23 05:16:56 +0000
committerpme <pme@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-23 05:16:56 +0000
commitd97992383ee9f2d407e5e9723f2cc33c79ff9b70 (patch)
tree1303905d2700833bdec53aa9ae9e3e0b29f9438d /gcc/config.gcc
parent37fe000704e67f1319c91c6fb47e7b97a5d38368 (diff)
downloadgcc-d97992383ee9f2d407e5e9723f2cc33c79ff9b70.tar.gz
2003-10-22 Phil Edwards <phil@codesourcery.com>
* config.gcc: Update *-*-vxworks* generic hook and comments. (arm-wrs-vxworks, i[4567]86-wrs-vxworks, mips-wrs-vxworks, mips-wrs-windiss, sh-wrs-vxworks): New stanzas. * genmultilib: Allow the MULTILIB_OSDIRNAMES to be mapped directly. * config/svr4.h (SWITCH_TAKES_ARG): Undefine it before redefining it. * config/windiss.h: New file. * config/arm/t-vxworks: New file. * config/arm/vxworks.h: New file. * config/i386/t-vxworks: New file. * config/i386/vxworks.h: New file. * config/mips/t-vxworks: New file. * config/mips/vxworks.h: New file. * config/mips/windiss.h: New file. * config/sh/t-vxworks: New file. * config/sh/vxworks.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72834 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc35
1 files changed, 33 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 1446f119712..5249689ab17 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -506,8 +506,13 @@ case ${target} in
*-*-vxworks*)
tmake_file=t-vxworks
tm_file="${tm_file} elfos.h svr4.h vxworks.h"
- thread_file='vxworks'
+ case ${enable_threads} in
+ no) ;;
+ "" | yes | vxworks) thread_file='vxworks' ;;
+ *) echo 'Unknown thread configuration for VxWorks'; exit 1 ;;
+ esac
use_collect2=yes
+ xm_defines=POSIX
;;
esac
@@ -619,6 +624,10 @@ arm-semi-aof | armel-semi-aof)
tm_file="arm/semiaof.h arm/aof.h arm/arm.h"
tmake_file=arm/t-semi
;;
+arm-wrs-vxworks)
+ tm_file="dbxelf.h elfos.h svr4.h vxworks.h arm/elf.h arm/aout.h arm/arm.h arm/vxworks.h"
+ tmake_file="${tmake_file} arm/t-vxworks"
+ ;;
arm*-*-freebsd*|strongarm*-*-freebsd*)
tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h"
tmake_file="${tmake_file} arm/t-strongarm-elf"
@@ -1102,6 +1111,10 @@ i386-*-vsta) # Intel 80386's running VSTa kernel
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/vsta.h"
use_fixproto=yes
;;
+i[4567]86-wrs-vxworks)
+ tm_file="${tm_file} i386/sysv4.h i386/unix.h i386/vxworks.h"
+ tmake_file="${tmake_file} i386/t-vxworks"
+ ;;
i[34567]86-*-pe | i[34567]86-*-cygwin*)
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h"
xm_file=i386/xm-cygwin.h
@@ -1564,6 +1577,20 @@ mips*-*-rtems*)
tm_file="${tm_file} mips/elf.h mips/rtems.h rtems.h"
tmake_file="mips/t-elf t-rtems mips/t-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"
+ tmake_file="${tmake_file} mips/t-vxworks"
+ target_cpu_default="MASK_GAS"
+ ;;
+mips-wrs-windiss) # Instruction-level simulator for VxWorks.
+ xm_defines=POSIX
+ tm_file="elfos.h mips/mips.h svr4.h mips/elf.h windiss.h mips/windiss.h"
+ tmake_file="${tmake_file} mips/t-elf"
+ target_cpu_default="MASK_GAS"
+ thread_file=
+ ;;
mipstx39-*-elf* | mipstx39el-*-elf*)
tm_file="${tm_file} mips/r3900.h mips/elf.h"
tmake_file=mips/t-r3900
@@ -1713,7 +1740,7 @@ powerpc-wrs-vxworks*)
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm rs6000/t-vxworks"
extra_headers=ppc-asm.h
;;
-powerpc-wrs-windiss*)
+powerpc-wrs-windiss*) # Instruction-level simulator for VxWorks.
tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h"
tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
thread_file=""
@@ -1900,6 +1927,10 @@ sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
;;
esac
;;
+sh-wrs-vxworks)
+ tmake_file="$tmake_file sh/t-sh sh/t-elf sh/t-vxworks"
+ tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h sh/vxworks.h"
+ ;;
sh-*-*)
tm_file="${tm_file} dbxcoff.h sh/coff.h"
use_fixproto=yes