Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
[binutils-gdb.git] / gas / config / vms-conf.h
1 /* vms-conf.h. Generated manually from conf.in,
2 and used by config-gas.com when constructing config.h. */
3
4 /* Define if using alloca.c. */
5 #ifdef __GNUC__
6 #undef C_ALLOCA
7 #else
8 #define C_ALLOCA
9 #endif
10
11 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
12 This function is required for alloca.c support on those systems. */
13 #undef CRAY_STACKSEG_END
14
15 /* Define if you have alloca, as a function or macro. */
16 #undef HAVE_ALLOCA
17
18 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
19 #undef HAVE_ALLOCA_H
20
21 /* Define as __inline if that's what the C compiler calls it. */
22 #ifdef __GNUC__
23 #undef inline
24 #else
25 #define inline
26 #endif
27
28 /* If using the C implementation of alloca, define if you know the
29 direction of stack growth for your system; otherwise it will be
30 automatically deduced at run-time.
31 STACK_DIRECTION > 0 => grows toward higher addresses
32 STACK_DIRECTION < 0 => grows toward lower addresses
33 STACK_DIRECTION = 0 => direction of growth unknown
34 */
35 #define STACK_DIRECTION (-1)
36
37 /* Define if lex declares yytext as a char * by default, not a char[]. */
38 #undef YYTEXT_POINTER
39
40 /* Name of package. */
41 #undef PACKAGE
42
43 /* Version of package. */
44 #undef VERSION
45
46 /* Should gas use high-level BFD interfaces? */
47 #undef BFD_ASSEMBLER
48
49 /* Some assert/preprocessor combinations are incapable of handling
50 certain kinds of constructs in the argument of assert. For example,
51 quoted strings (if requoting isn't done right) or newlines. */
52 #ifdef __GNUC__
53 #undef BROKEN_ASSERT
54 #else
55 #define BROKEN_ASSERT
56 #endif
57
58 /* If we aren't doing cross-assembling, some operations can be optimized,
59 since byte orders and value sizes don't need to be adjusted. */
60 #undef CROSS_COMPILE
61
62 /* Some gas code wants to know these parameters. */
63 #define TARGET_ALIAS "vms"
64 #define TARGET_CPU "vax"
65 #define TARGET_CANONICAL "vax-dec-vms"
66 #define TARGET_OS "vms"
67 #define TARGET_VENDOR "dec"
68
69 /* Sometimes the system header files don't declare strstr. */
70 #undef NEED_DECLARATION_STRSTR
71
72 /* Sometimes the system header files don't declare malloc and realloc. */
73 #undef NEED_DECLARATION_MALLOC
74
75 /* Sometimes the system header files don't declare free. */
76 #undef NEED_DECLARATION_FREE
77
78 /* Sometimes the system header files don't declare sbrk. */
79 #undef NEED_DECLARATION_SBRK
80
81 /* Sometimes errno.h doesn't declare errno itself. */
82 #undef NEED_DECLARATION_ERRNO
83
84 #undef MANY_SEGMENTS
85
86 /* The configure script defines this for some targets based on the
87 target name used. It is not always defined. */
88 #undef TARGET_BYTES_BIG_ENDIAN
89
90 /* Needed only for some configurations that can produce multiple output
91 formats. */
92 #undef DEFAULT_EMULATION
93 #undef EMULATIONS
94 #undef USE_EMULATIONS
95 #undef OBJ_MAYBE_AOUT
96 #undef OBJ_MAYBE_BOUT
97 #undef OBJ_MAYBE_COFF
98 #undef OBJ_MAYBE_ECOFF
99 #undef OBJ_MAYBE_ELF
100 #undef OBJ_MAYBE_GENERIC
101 #undef OBJ_MAYBE_HP300
102 #undef OBJ_MAYBE_IEEE
103 #undef OBJ_MAYBE_SOM
104 #undef OBJ_MAYBE_VMS
105
106 /* Used for some of the COFF configurations, when the COFF code needs
107 to select something based on the CPU type before it knows it... */
108 #undef I386COFF
109 #undef M68KCOFF
110 #undef M88KCOFF
111
112 /* Using cgen code? */
113 #undef USING_CGEN
114
115 /* Needed only for sparc configuration. */
116 #undef DEFAULT_ARCH
117
118 /* Needed only for PowerPC Solaris. */
119 #undef TARGET_SOLARIS_COMMENT
120
121 /* Needed only for SCO 5. */
122 #undef SCO_ELF
123
124 /* Define if you have the remove function. */
125 #define HAVE_REMOVE
126
127 /* Define if you have the sbrk function. */
128 /* sbrk() is available, but we don't want gas to use it. */
129 #undef HAVE_SBRK
130
131 /* Define if you have the unlink function. */
132 #undef HAVE_UNLINK
133
134 /* Define if you have the <errno.h> header file. */
135 #define HAVE_ERRNO_H
136
137 /* Define if you have the <memory.h> header file. */
138 #undef HAVE_MEMORY_H
139
140 /* Define if you have the <stdarg.h> header file. */
141 #define HAVE_STDARG_H
142
143 /* Define if you have the <stdlib.h> header file. */
144 #define HAVE_STDLIB_H
145
146 /* Define if you have the <string.h> header file. */
147 #define HAVE_STRING_H
148
149 /* Define if you have the <strings.h> header file. */
150 #undef HAVE_STRINGS_H
151
152 /* Define if you have the <sys/types.h> header file. */
153 #ifdef __GNUC__
154 #define HAVE_SYS_TYPES_H
155 #else
156 #undef HAVE_SYS_TYPES_H
157 #endif
158
159 /* Define if you have the <unistd.h> header file. */
160 #define HAVE_UNISTD_H /* config-gas.com will make one if necessary */
161
162 /* Define if you have the <varargs.h> header file. */
163 #undef HAVE_VARARGS_H
164
165 /* VMS-specific: we need to set up EXIT_xxx here because the default
166 values in as.h are inappropriate for VMS, but we also want to prevent
167 as.h's inclusion of <stdlib.h> from triggering redefinition warnings.
168 <stdlib.h> guards itself against multiple inclusion, so including it
169 here turns as.h's later #include into a no-op. (We can't simply use
170 #ifndef HAVE_STDLIB_H here, because the <stdlib.h> in several older
171 gcc-vms distributions neglects to define these two required macros.) */
172 #ifdef HAVE_STDLIB_H
173 #include <stdlib.h>
174 #undef EXIT_SUCCESS
175 #undef EXIT_FAILURE
176 #endif
177 #define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */
178 #define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */