xref: /openbsd-src/gnu/usr.bin/gcc/gcc/config/i370/mvs.h (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 /* Definitions of target machine for GNU compiler.  System/370 version.
2    Copyright (C) 1989, 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
3    Contributed by Jan Stein (jan@cd.chalmers.se).
4    Modified for OS/390 LanguageEnvironment C by Dave Pitts (dpitts@cozx.com)
5 
6 This file is part of GNU CC.
7 
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12 
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22 
23 #define TARGET_VERSION printf (" (370/MVS)");
24 
25 /* Specify that we're generating code for the Language Environment */
26 
27 #define LE370 1
28 #define TARGET_EBCDIC 1
29 #define TARGET_HLASM 1
30 
31 /* Options for the preprocessor for this target machine.  */
32 
33 #define CPP_SPEC "-trigraphs"
34 
35 /* Target OS preprocessor built-ins.  */
36 #define TARGET_OS_CPP_BUILTINS()		\
37     do {					\
38 	builtin_define_std ("MVS");		\
39 	builtin_define_std ("mvs");		\
40 	MAYBE_LE370_MACROS();			\
41 	builtin_assert ("system=mvs");		\
42     } while (0)
43 
44 #if defined(LE370)
45 # define MAYBE_LE370_MACROS() do {builtin_define_std ("LE370");} while (0)
46 #else
47 # define MAYBE_LE370_MACROS()
48 #endif
49 
50 /* Include system common definitions */
51 
52 #include "config/i370/i370.h"
53 
54