OSDN Git Service

Add REG_MAYBE_DEAD note to frame pointer initialisation instruction.
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / vxarm.h
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.
4
5    Contributed by: Mike Stump <mrs@wrs.com>
6    
7 This file is part of GNU CC.
8
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.
13
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.
18
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.  */
23
24 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm710
25
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}}   \
38 "
39
40 #undef  CPP_PREDEFINES
41 #define CPP_PREDEFINES  "-D__vxworks -Acpu=arm -Amachine=arm"
42
43 /* VxWorks does all the library stuff itself.  */
44 #undef  LIB_SPEC
45 #define LIB_SPEC        ""
46
47 /* VxWorks uses object files, not loadable images.  make linker just
48    combine objects. */
49 #undef  LINK_SPEC
50 #define LINK_SPEC       "-r"
51
52 /* VxWorks provides the functionality of crt0.o and friends itself.  */
53 #undef  STARTFILE_SPEC
54 #define STARTFILE_SPEC  ""
55
56 #undef  ENDFILE_SPEC
57 #define ENDFILE_SPEC    ""
58
59 #undef  TARGET_VERSION
60 #define TARGET_VERSION  fputs (" (ARM/VxWorks)", stderr);
61
62 #undef  ASM_FILE_START
63 #define ASM_FILE_START(STREAM)                                          \
64   do                                                                    \
65     {                                                                   \
66       fprintf (STREAM, "%s Generated by gcc %s for ARM/VxWorks\n",      \
67                ASM_COMMENT_START, version_string);                      \
68     }                                                                   \
69   while (0)