* real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
[official-gcc.git] / gcc / config / arm / vxarm.h
blob473362e4332d8fb18339a9fda6c506b603a0a4d5
1 /* Definitions of target machine for GNU compiler,
2 for ARM with targetting the VXWorks run time environment.
3 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
5 Contributed by: Mike Stump <mrs@wrs.com>
7 This file is part of GNU CC.
9 GNU CC is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
14 GNU CC is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GNU CC; see the file COPYING. If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm710
26 #undef SUBTARGET_CPP_SPEC
27 #define SUBTARGET_CPP_SPEC \
28 "%{march=arm710:-DCPU=ARM710A} \
29 %{march=arm7tdmi:-DCPU=ARM7TDMI} \
30 %{march=arm810:-DCPU=ARM810} \
31 %{march=strongarm110:-DCPU=ARMSA110} \
32 %{!march=*: \
33 %{mcpu=arm710:-DCPU=ARM710A} \
34 %{mcpu=arm7tdmi:-DCPU=ARM7TDMI} \
35 %{mcpu=arm810:-DCPU=ARM810} \
36 %{mcpu=strongarm110:-DCPU=ARMSA110}} \
37 %{!mcpu*:%{!march=*:-DCPU=ARM710A}} \
40 #define TARGET_OS_CPP_BUILTINS() \
41 do { \
42 builtin_define ("__vxworks"); \
43 } while (0)
45 /* VxWorks does all the library stuff itself. */
46 #undef LIB_SPEC
47 #define LIB_SPEC ""
49 /* VxWorks uses object files, not loadable images. make linker just
50 combine objects. */
51 #undef LINK_SPEC
52 #define LINK_SPEC "-r"
54 /* VxWorks provides the functionality of crt0.o and friends itself. */
55 #undef STARTFILE_SPEC
56 #define STARTFILE_SPEC ""
58 #undef ENDFILE_SPEC
59 #define ENDFILE_SPEC ""
61 #undef TARGET_VERSION
62 #define TARGET_VERSION fputs (" (ARM/VxWorks)", stderr);
64 #undef ASM_FILE_START
65 #define ASM_FILE_START(STREAM) \
66 do \
67 { \
68 fprintf (STREAM, "%s Generated by gcc %s for ARM/VxWorks\n", \
69 ASM_COMMENT_START, version_string); \
70 } \
71 while (0)