Initial revision
[binutils.git] / gas / config / vms-conf.h
blob7225cfce1bd3489e69d14cdf16d8f68f61098d58
1 /* vms-conf.h. Generated manually from conf.in,
2 and used by config-gas.com when constructing config.h. */
4 /* Define if using alloca.c. */
5 #ifdef __GNUC__
6 #undef C_ALLOCA
7 #else
8 #define C_ALLOCA
9 #endif
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
15 /* Define if you have alloca, as a function or macro. */
16 #undef HAVE_ALLOCA
18 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
19 #undef HAVE_ALLOCA_H
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
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
35 #define STACK_DIRECTION (-1)
37 /* Define if lex declares yytext as a char * by default, not a char[]. */
38 #undef YYTEXT_POINTER
40 /* Name of package. */
41 #undef PACKAGE
43 /* Version of package. */
44 /* Define in by config-gas.com */
45 /* #undef VERSION */
47 /* Should gas use high-level BFD interfaces? */
48 #undef BFD_ASSEMBLER
50 /* Some assert/preprocessor combinations are incapable of handling
51 certain kinds of constructs in the argument of assert. For example,
52 quoted strings (if requoting isn't done right) or newlines. */
53 #ifdef __GNUC__
54 #undef BROKEN_ASSERT
55 #else
56 #define BROKEN_ASSERT
57 #endif
59 /* If we aren't doing cross-assembling, some operations can be optimized,
60 since byte orders and value sizes don't need to be adjusted. */
61 #undef CROSS_COMPILE
63 /* Some gas code wants to know these parameters. */
64 #define TARGET_ALIAS "vms"
65 #define TARGET_CPU "vax"
66 #define TARGET_CANONICAL "vax-dec-vms"
67 #define TARGET_OS "vms"
68 #define TARGET_VENDOR "dec"
70 /* Sometimes the system header files don't declare strstr. */
71 #undef NEED_DECLARATION_STRSTR
73 /* Sometimes the system header files don't declare malloc and realloc. */
74 #undef NEED_DECLARATION_MALLOC
76 /* Sometimes the system header files don't declare free. */
77 #undef NEED_DECLARATION_FREE
79 /* Sometimes the system header files don't declare sbrk. */
80 #undef NEED_DECLARATION_SBRK
82 /* Sometimes errno.h doesn't declare errno itself. */
83 #undef NEED_DECLARATION_ERRNO
85 #undef MANY_SEGMENTS
87 /* The configure script defines this for some targets based on the
88 target name used. It is not always defined. */
89 #undef TARGET_BYTES_BIG_ENDIAN
91 /* Needed only for some configurations that can produce multiple output
92 formats. */
93 #undef DEFAULT_EMULATION
94 #undef EMULATIONS
95 #undef USE_EMULATIONS
96 #undef OBJ_MAYBE_AOUT
97 #undef OBJ_MAYBE_BOUT
98 #undef OBJ_MAYBE_COFF
99 #undef OBJ_MAYBE_ECOFF
100 #undef OBJ_MAYBE_ELF
101 #undef OBJ_MAYBE_GENERIC
102 #undef OBJ_MAYBE_HP300
103 #undef OBJ_MAYBE_IEEE
104 #undef OBJ_MAYBE_SOM
105 #undef OBJ_MAYBE_VMS
107 /* Used for some of the COFF configurations, when the COFF code needs
108 to select something based on the CPU type before it knows it... */
109 #undef I386COFF
110 #undef M68KCOFF
111 #undef M88KCOFF
113 /* Using cgen code? */
114 #undef USING_CGEN
116 /* Needed only for sparc configuration. */
117 #undef DEFAULT_ARCH
119 /* Needed only for PowerPC Solaris. */
120 #undef TARGET_SOLARIS_COMMENT
122 /* Needed only for SCO 5. */
123 #undef SCO_ELF
125 /* Define if you have the remove function. */
126 #define HAVE_REMOVE
128 /* Define if you have the sbrk function. */
129 /* sbrk() is available, but we don't want gas to use it. */
130 #undef HAVE_SBRK
132 /* Define if you have the unlink function. */
133 #undef HAVE_UNLINK
135 /* Define if you have the <errno.h> header file. */
136 #define HAVE_ERRNO_H
138 /* Define if you have the <memory.h> header file. */
139 #undef HAVE_MEMORY_H
141 /* Define if you have the <stdarg.h> header file. */
142 #define HAVE_STDARG_H
144 /* Define if you have the <stdlib.h> header file. */
145 #define HAVE_STDLIB_H
147 /* Define if you have the <string.h> header file. */
148 #define HAVE_STRING_H
150 /* Define if you have the <strings.h> header file. */
151 #undef HAVE_STRINGS_H
153 /* Define if you have the <sys/types.h> header file. */
154 #ifdef __GNUC__
155 #define HAVE_SYS_TYPES_H
156 #else
157 #undef HAVE_SYS_TYPES_H
158 #endif
160 /* Define if you have the <unistd.h> header file. */
161 #define HAVE_UNISTD_H /* config-gas.com will make one if necessary */
163 /* Define if you have the <varargs.h> header file. */
164 #undef HAVE_VARARGS_H
166 /* VMS-specific: we need to set up EXIT_xxx here because the default
167 values in as.h are inappropriate for VMS, but we also want to prevent
168 as.h's inclusion of <stdlib.h> from triggering redefinition warnings.
169 <stdlib.h> guards itself against multiple inclusion, so including it
170 here turns as.h's later #include into a no-op. (We can't simply use
171 #ifndef HAVE_STDLIB_H here, because the <stdlib.h> in several older
172 gcc-vms distributions neglects to define these two required macros.) */
173 #ifdef HAVE_STDLIB_H
174 #include <stdlib.h>
175 #undef EXIT_SUCCESS
176 #undef EXIT_FAILURE
177 #endif
178 #define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */
179 #define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */