]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/i960/vx960-coff.h
* sh.h (EXTRA_CONSTRAINT_Z): New macro.
[thirdparty/gcc.git] / gcc / config / i960 / vx960-coff.h
CommitLineData
361a5e6d 1/* Definitions of target machine for GNU compiler. Vxworks i960 version.
fa251d82 2 Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
361a5e6d 3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING. If not, write to
7655d088 18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
361a5e6d 20
fa251d82 21/* This file just exists to give specs for the 960 running on VxWorks.
22 VxWorks does all the library stuff itself. */
361a5e6d 23
feb9af9f 24#undef MULTILIB_DEFAULTS
dd84cabc 25#define MULTILIB_DEFAULTS { "msoft-float" }
26
361a5e6d 27#undef LIB_SPEC
28#define LIB_SPEC ""
29
30/* VxWorks provides the functionality of crt0.o and friends itself. */
31
32#undef STARTFILE_SPEC
33#define STARTFILE_SPEC ""
34
0e7cd28c 35/* Predefine vxworks. */
36
37#undef CPP_PREDEFINES
b956b40b 38#define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Dvxworks -Acpu=i960 -Amachine=i960"
0e7cd28c 39
40/* The VxWorks header files expect the compiler to define CPU to a
eaa3d982 41 magic number. Note that we define CPU here even if the user
42 has specified -ansi. This violates user namespace, but the VxWorks
43 headers, and potentially user code, all explicitly rely upon the
44 definition of CPU in order to get the proper processor information. */
0e7cd28c 45
46#undef CPP_SPEC
47#define CPP_SPEC "%{mic*:-D__i960\
48 %{mka:-D__i960KA}%{mkb:-D__i960KB}\
49 %{msa:-D__i960SA}%{msb:-D__i960SB}\
50 %{mmc:-D__i960MC}\
51 %{mca:-D__i960CA}%{mcc:-D__i960CC}\
52 %{mcf:-D__i960CF}}\
eaa3d982 53 %{mka:-D__i960KA__ -D__i960_KA__ -DCPU=I960KA}\
54 %{mkb:-D__i960KB__ -D__i960_KB__ -DCPU=I960KB}\
0e7cd28c 55 %{msa:-D__i960SA__ -D__i960_SA__}\
56 %{msb:-D__i960SB__ -D__i960_SB__}\
57 %{mmc:-D__i960MC__ -D__i960_MC__}\
eaa3d982 58 %{mca:-D__i960CA__ -D__i960_CA__ -DCPU=I960CA}\
0e7cd28c 59 %{mcc:-D__i960CC__ -D__i960_CC__}\
60 %{mcf:-D__i960CF__ -D__i960_CF__}\
61 %{!mka:%{!mkb:%{!msa:%{!msb:%{!mmc:%{!mca:\
eaa3d982 62 %{!mcc:%{!mcf:-D__i960_CA -D__i960CA__ -DCPU=I960CA\
dd84cabc 63 %{mic*:-D__i960CA}}}}}}}}}\
64 %{mlong-double-64:-D__LONG_DOUBLE_64__}"
0e7cd28c 65
66/* Default to -mca. */
67
361a5e6d 68#undef CC1_SPEC
69#define CC1_SPEC \
0e7cd28c 70 "%{!mka:%{!mkb:%{!msa:%{!msb:%{!mmc:%{!mca:%{!mcc:%{!mcf:-mca}}}}}}}}\
9e82d785 71 %{!gs*:%{!gc*:%{mbout:%{g*:-gstabs}}\
72 %{mcoff:%{g*:-gcoff}}\
73 %{!mbout:%{!mcoff:%{g*:-gcoff}}}}}"