1 /* Configuration file for an m88k OpenBSD target.
2 Copyright (C) 2000 Free Software Foundation, Inc.
4 This file is part of GNU CC.
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)
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.
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. */
21 /* Identify the compiler. */
23 #define VERSION_INFO1 "Motorola m88k, "
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"
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. */
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}"
40 /* Layout of source language data types. */
42 /* This must agree with <machine/ansi.h> */
44 #define SIZE_TYPE "unsigned int"
47 #define PTRDIFF_TYPE "int"
50 #define WCHAR_TYPE "int"
52 #undef WCHAR_TYPE_SIZE
53 #define WCHAR_TYPE_SIZE 32
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
59 /* Stack & calling: aggregate returns. */
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
66 #define SET_ASM_OP "\t.def\t"