OSDN Git Service

Imported from mainline FSF repositories
[pf3gnuchains/gcc-fork.git] / gcc / config / i370 / oe.h
1 /* Definitions of target machine for GNU compiler.  System/370 version.
2    Copyright (C) 1989, 1993, 1995, 1996, 1997, 2003
3    Free Software Foundation, Inc.
4    Contributed by Jan Stein (jan@cd.chalmers.se).
5    Modified for OS/390 OpenEdition by Dave Pitts (dpitts@cozx.com)
6
7 This file is part of GCC.
8
9 GCC 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 GCC 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 GCC; 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 TARGET_VERSION printf (" (370/OpenEdition)");
25
26 /* Specify that we're generating code for the Language Environment */
27
28 #define LE370 1
29 #define LONGEXTERNAL 1
30 #define TARGET_EBCDIC 1
31 #define TARGET_HLASM 1
32
33 /* Options for the preprocessor for this target machine.  */
34
35 #define CPP_SPEC "-trigraphs"
36
37 /* Options for this target machine.  */
38
39 #define LIB_SPEC ""
40 #define LIBGCC_SPEC ""
41 #define STARTFILE_SPEC "/usr/local/lib/gccmain.o"
42
43 /* Target OS preprocessor built-ins.  */
44 #define TARGET_OS_CPP_BUILTINS()                \
45     do {                                        \
46         builtin_define_std ("unix");            \
47         builtin_define_std ("UNIX");            \
48         builtin_define_std ("openedition");     \
49         builtin_define ("__i370__");            \
50         builtin_assert ("system=openedition");  \
51         builtin_assert ("system=unix");         \
52     } while (0)
53