OSDN Git Service

Change callers in config/[h-l]*/ to match:
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / os2.h
1 /* Definitions of target machine for GNU compiler
2    for an Intel i386 or later processor running OS/2 2.x.
3    Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
4    Contributed by Samuel Figueroa (figueroa@cs.nyu.edu)
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 #ifndef DEFAULT_TARGET_MACHINE
24 #define DEFAULT_TARGET_MACHINE "i386-os2"
25 #endif
26 #ifndef LINK_SPEC
27 #define LINK_SPEC "/st:1048576/pm:vio/noi/a:16/e/bas:65536/nol"
28 #endif
29 #ifndef LIB_SPEC
30 #define LIB_SPEC "libgcc libc"
31 #endif
32 #ifndef STARTFILE_SPEC
33 #define STARTFILE_SPEC "libcrt.lib"
34 #endif
35 #ifndef MD_EXEC_PREFIX
36 #define MD_EXEC_PREFIX "\\gcc\\bin\\"
37 #endif
38 #ifndef STANDARD_STARTFILE_PREFIX
39 #define STANDARD_STARTFILE_PREFIX "\\gcc\\lib\\"
40 #endif
41 #ifndef LOCAL_INCLUDE_DIR
42 #define LOCAL_INCLUDE_DIR "\\gcc\\include"
43 #endif
44
45 #define YES_UNDERSCORES
46 #include "i386/gstabs.h"
47
48 #define USE_COLLECT
49
50 #define BIGGEST_FIELD_ALIGNMENT \
51   (maximum_field_alignment ? maximum_field_alignment : 32)
52
53 extern int maximum_field_alignment;
54
55 #undef PCC_BITFIELD_TYPE_MATTERS
56 #define PCC_BITFIELD_TYPE_MATTERS (maximum_field_alignment == 0)
57
58 /* Define this macro if it is advisable to hold scalars in registers
59    in a wider mode than that declared by the program.  In such cases,
60    the value is constrained to be within the bounds of the declared
61    type, but kept valid in the wider mode.  The signedness of the
62    extension may differ from that of the type.  */
63
64 #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE)  \
65   if (GET_MODE_CLASS (MODE) == MODE_INT         \
66       && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \
67       (MODE) = SImode;
68
69 /* Define this if function arguments should also be promoted using the above
70    procedure.  */
71
72 #define PROMOTE_FUNCTION_ARGS
73
74 /* Likewise, if the function return value is promoted.  */
75
76 #define PROMOTE_FUNCTION_RETURN