OSDN Git Service

* arm/vxarm.h: Split out vxWorks support into separate headerfile
[pf3gnuchains/gcc-fork.git] / gcc / config / arm / vxarm.h
1 #undef SUBTARGET_CPP_SPEC
2 #define SUBTARGET_CPP_SPEC      "%{march=arm710:-DCPU=ARM710A} \
3 %{march=arm7tdmi:-DCPU=ARM7TDMI} \
4 %{march=arm810:-DCPU=ARM810} \
5 %{march=strongarm110:-DCPU=ARMSA110} \
6 %{!march=*: \
7  %{mcpu=arm710:-DCPU=ARM710A} \
8  %{mcpu=arm7tdmi:-DCPU=ARM7TDMI} \
9  %{mcpu=arm810:-DCPU=ARM810} \
10  %{mcpu=strongarm110:-DCPU=ARMSA110}} \
11 %{!mcpu*:%{!march=*:-DCPU=ARM710A}} \
12 "
13
14 #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm710
15
16 #undef CPP_PREDEFINES
17 #define CPP_PREDEFINES  "-D__vxworks -D__arm__ -Acpu(arm) -Amachine(arm)"
18
19 /* VxWorks does all the library stuff itself.  */
20
21 #undef LIB_SPEC
22 #define LIB_SPEC ""
23
24 /* VxWorks uses object files, not loadable images.  make linker just
25    combine objects. */
26
27 #undef LINK_SPEC
28 #define LINK_SPEC "-r"
29
30 /* VxWorks provides the functionality of crt0.o and friends itself.  */
31
32 #undef STARTFILE_SPEC
33 #define STARTFILE_SPEC ""
34
35 #undef ENDFILE_SPEC
36 #define ENDFILE_SPEC ""