OSDN Git Service

* c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
[pf3gnuchains/gcc-fork.git] / gcc / config / m88k / openbsd.h
1 /* Configuration file for an m88k OpenBSD target.
2    Copyright (C) 2000 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* Identify the compiler.  */
22 #undef  VERSION_INFO1
23 #define VERSION_INFO1 "Motorola m88k, "
24
25 /* Macros to be automatically defined.  */
26 #define CPP_PREDEFINES \
27     "-D__m88k__ -D__unix__ -D__OpenBSD__ -D__CLASSIFY_TYPE__=2 -Asystem=unix -Asystem=OpenBSD -Acpu=m88k -Amachine=m88k"
28
29 /* If -m88000 is in effect, add -Dmc88000; similarly for -m88100 and -m88110.
30    However, reproduce the effect of -Dmc88100 previously in CPP_PREDEFINES.
31    Here, the CPU_DEFAULT is assumed to be -m88100.  */
32 #undef  CPP_SPEC
33 #define CPP_SPEC "%{m88000:-D__mc88000__} \
34                   %{!m88000:%{m88100:%{m88110:-D__mc88000__}}} \
35                   %{!m88000:%{!m88100:%{m88110:-D__mc88110__}}} \
36                   %{!m88000:%{!m88110:-D__mc88100__ -D__mc88100}} \
37                   %{posix:-D_POSIX_SOURCE} \
38                   %{pthread:-D_POSIX_THREADS}"
39
40 /* Layout of source language data types. */
41
42 /* This must agree with <machine/ansi.h> */
43 #undef SIZE_TYPE
44 #define SIZE_TYPE "unsigned int"
45
46 #undef PTRDIFF_TYPE
47 #define PTRDIFF_TYPE "int"
48
49 #undef WCHAR_TYPE
50 #define WCHAR_TYPE "int"
51
52 #undef WCHAR_TYPE_SIZE
53 #define WCHAR_TYPE_SIZE 32
54
55 /* Every structure or union's size must be a multiple of 2 bytes.  */
56 #undef STRUCTURE_SIZE_BOUNDARY
57 #define STRUCTURE_SIZE_BOUNDARY 16 
58
59 /* Stack & calling: aggregate returns. */
60
61 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
62    we want to retain compatibility with older gcc versions.  */
63 #define DEFAULT_PCC_STRUCT_RETURN 0
64
65 #undef SET_ASM_OP
66 #define SET_ASM_OP      "\t.def\t"
67