diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-04-12 12:47:05 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-04-12 12:47:05 +0000 |
commit | f4de8ba686f8a4c7cc2d7ff9fa53315e826560c4 (patch) | |
tree | 6a21239d8069829e6a2886f10c25bfbdbe473955 /gcc/config.gcc | |
parent | b83b15dae3196e4c7aff549b27b8de2362d0e7c8 (diff) | |
download | gcc-f4de8ba686f8a4c7cc2d7ff9fa53315e826560c4.zip gcc-f4de8ba686f8a4c7cc2d7ff9fa53315e826560c4.tar.gz gcc-f4de8ba686f8a4c7cc2d7ff9fa53315e826560c4.tar.bz2 |
config.gcc (*-*-vxworks*): Don't add to tm_files in this stanza.
gcc/
* config.gcc (*-*-vxworks*): Don't add to tm_files in this stanza.
(arm-wrs-vxworks, mips-wrs-vxworks, powerpc-wrs-vxworks)
(powerpc-wrs-vxworksae): Use ${tm_file}.
(i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add svr4.h
after elfos.h. Remove i386/sysv4.h and add i386/vx-common.h.
* config/i386/vx-common.h: New file.
From-SVN: r123744
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 14f79d6..36e369f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -569,7 +569,6 @@ case ${target} in ;; *-*-vxworks*) tmake_file=t-vxworks - tm_file="${tm_file} elfos.h svr4.h" xm_defines=POSIX extra_options="${extra_options} vxworks.opt" extra_objs=vxworks.o @@ -694,7 +693,7 @@ arm-semi-aof | armel-semi-aof) tmake_file="arm/t-arm 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" + tm_file="dbxelf.h elfos.h svr4.h vxworks.h arm/elf.h arm/aout.h ${tm_file} arm/vxworks.h" tmake_file="${tmake_file} arm/t-arm arm/t-vxworks" ;; arm*-*-freebsd*|strongarm*-*-freebsd*) @@ -1317,14 +1316,14 @@ i[34567]86-*-sysv4*) # Intel 80386's running system V.4 use_fixproto=yes ;; i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae) - tm_file="${tm_file} i386/sysv4.h i386/unix.h i386/att.h elfos.h vx-common.h" + tm_file="${tm_file} i386/unix.h i386/att.h elfos.h svr4.h vx-common.h" case ${target} in *-vxworksae*) - tm_file="${tm_file} vxworksae.h i386/vxworksae.h" + tm_file="${tm_file} vxworksae.h i386/vx-common.h i386/vxworksae.h" tmake_file="${tmake_file} i386/t-vxworks i386/t-vxworksae" ;; *) - tm_file="${tm_file} vxworks.h i386/vxworks.h" + tm_file="${tm_file} vxworks.h i386/vx-common.h i386/vxworks.h" tmake_file="${tmake_file} i386/t-vxworks" ;; esac @@ -1706,9 +1705,7 @@ mips*-*-rtems*) 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 vx-common.h vxworks.h mips/vxworks.h" + tm_file="elfos.h ${tm_file} 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. @@ -1909,9 +1906,7 @@ powerpc-*-gnu*) fi ;; powerpc-wrs-vxworks|powerpc-wrs-vxworksae) - # We want vxworks.h after rs6000/sysv4.h, which unfortunately - # means we have to redo the tm_file list from scratch. - tm_file="rs6000/rs6000.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" + tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppccomm rs6000/t-vxworks" extra_options="${extra_options} rs6000/sysv4.opt" extra_headers=ppc-asm.h |