diff options
author | David O'Brien <obrien@FreeBSD.org> | 2001-11-16 21:23:16 +0000 |
---|---|---|
committer | David O'Brien <obrien@gcc.gnu.org> | 2001-11-16 21:23:16 +0000 |
commit | f910b1bb5fb405e648f172c2ba19a894724ecffe (patch) | |
tree | d40bbfe2a74b2c9607f050b0a705b1cac7df2e79 /gcc/config/arm/netbsd.h | |
parent | 9c8e9f62961c74d9ec6545358b4d69c70141cfcf (diff) | |
download | gcc-f910b1bb5fb405e648f172c2ba19a894724ecffe.zip gcc-f910b1bb5fb405e648f172c2ba19a894724ecffe.tar.gz gcc-f910b1bb5fb405e648f172c2ba19a894724ecffe.tar.bz2 |
config.gcc (arm*-*-rtems*, [...]): Include various CPU headers via tm_file.
2001-11-16 David O'Brien <obrien@FreeBSD.org>
* config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
* config/arm/aof.h: Don't include arm.h.
* config/arm/aout.h: Likewise.
* config/arm/coff.h: Don't include semi.h and aout.h.
* config/arm/elf.h: Don't include aout.h.
* config/arm/netbsd.h: Don't include netbsd.h and aout.h.
(TARGET_VERSION): Undef before defining.
(ARM_OS_NAME): Likewise
(TARGET_DEFAULT): Likewise
(TARGET_MEM_FUNCTIONS): Do not need to undefine now.
* config/arm/pe.h: Don't include arm/coff.h.
* config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
* config/arm/riscix1-1.h: Likewise.
* config/arm/rix-gas.h: Don't include riscix.h.
(DBX_CONTIN_LENGTH): Undef before defining.
* config/arm/semi.h: Don't include aout.h.
* config/arm/semiaof.h: Don't include aof.h.
* config/arm/strongarm-coff.h: Don't include coff.h.
* config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
* config/arm/vxarm.h: Don't include arm/coff.h.
* config/arm/xscale-coff.h: Don't include coff.h.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3ofm2c27q.fsf@north-pole.nickc.cambridge.redhat.com>
From-SVN: r47105
Diffstat (limited to 'gcc/config/arm/netbsd.h')
-rw-r--r-- | gcc/config/arm/netbsd.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/config/arm/netbsd.h b/gcc/config/arm/netbsd.h index 057c7cf..554460d 100644 --- a/gcc/config/arm/netbsd.h +++ b/gcc/config/arm/netbsd.h @@ -20,9 +20,11 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Run-time Target Specification. */ +#undef TARGET_VERSION #define TARGET_VERSION fputs (" (ARM/NetBSD)", stderr); /* This is used in ASM_FILE_START. */ +#undef ARM_OS_NAME #define ARM_OS_NAME "NetBSD" /* Unsigned chars produces much better code than signed. */ @@ -37,15 +39,9 @@ Boston, MA 02111-1307, USA. */ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6 /* Default is to use APCS-32 mode. */ +#undef TARGET_DEFAULT #define TARGET_DEFAULT (ARM_FLAG_APCS_32 | ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_FRAME) -#include "arm/aout.h" - -/* This gets redefined in config/netbsd.h. */ -#undef TARGET_MEM_FUNCTIONS - -#include <netbsd.h> - /* Some defines for CPP. arm32 is the NetBSD port name, so we always define arm32 and __arm32__. */ #undef CPP_PREDEFINES |