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