Commit | Line | Data |
---|---|---|
fd4b1131 KR |
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 | ||
214f540d KR |
15 | /* Define if you have alloca, as a function or macro. */ |
16 | #undef HAVE_ALLOCA | |
17 | ||
fd4b1131 KR |
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 | /* Should gas use high-level BFD interfaces? */ | |
38 | #undef BFD_ASSEMBLER | |
39 | ||
40 | /* Some assert/preprocessor combinations are incapable of handling | |
41 | certain kinds of constructs in the argument of assert. For example, | |
42 | quoted strings (if requoting isn't done right) or newlines. */ | |
43 | #ifdef __GNUC__ | |
44 | #undef BROKEN_ASSERT | |
45 | #else | |
46 | #define BROKEN_ASSERT | |
47 | #endif | |
48 | ||
49 | /* If we aren't doing cross-assembling, some operations can be optimized, | |
50 | since byte orders and value sizes don't need to be adjusted. */ | |
51 | #undef CROSS_COMPILE | |
52 | ||
fd4b1131 KR |
53 | /* Some gas code wants to know these parameters. */ |
54 | #define TARGET_ALIAS "vms" | |
55 | #define TARGET_CPU "vax" | |
56 | #define TARGET_CANONICAL "vax-dec-vms" | |
57 | #define TARGET_OS "vms" | |
58 | #define TARGET_VENDOR "dec" | |
59 | ||
fd4b1131 KR |
60 | /* Sometimes the system header files don't declare malloc and realloc. */ |
61 | #undef NEED_DECLARATION_MALLOC | |
62 | ||
63 | /* Sometimes the system header files don't declare free. */ | |
64 | #undef NEED_DECLARATION_FREE | |
65 | ||
66 | /* Sometimes errno.h doesn't declare errno itself. */ | |
67 | #undef NEED_DECLARATION_ERRNO | |
68 | ||
69 | #undef MANY_SEGMENTS | |
70 | ||
214f540d | 71 | /* Needed only for sparc configuration. */ |
6df07e7f DE |
72 | #undef SPARC_V9 |
73 | #undef SPARC_ARCH64 | |
fd4b1131 | 74 | |
214f540d KR |
75 | /* Needed only for some configurations that can produce multiple output |
76 | formats. */ | |
77 | #undef DEFAULT_EMULATION | |
78 | #undef EMULATIONS | |
79 | #undef USE_EMULATIONS | |
80 | #undef OBJ_MAYBE_AOUT | |
81 | #undef OBJ_MAYBE_BOUT | |
82 | #undef OBJ_MAYBE_COFF | |
83 | #undef OBJ_MAYBE_ECOFF | |
84 | #undef OBJ_MAYBE_ELF | |
85 | #undef OBJ_MAYBE_GENERIC | |
86 | #undef OBJ_MAYBE_HP300 | |
87 | #undef OBJ_MAYBE_IEEE | |
88 | #undef OBJ_MAYBE_SOM | |
89 | #undef OBJ_MAYBE_VMS | |
90 | ||
91 | /* Used for some of the COFF configurations, when the COFF code needs | |
92 | to select something based on the CPU type before it knows it... */ | |
93 | #undef I386COFF | |
94 | #undef M68KCOFF | |
95 | #undef M88KCOFF | |
96 | ||
3607cd97 KR |
97 | /* Define if you have the remove function. */ |
98 | #define HAVE_REMOVE | |
fd4b1131 | 99 | |
214f540d KR |
100 | /* sbrk() is available, but we don't want gas to use it. */ |
101 | #undef HAVE_SBRK | |
102 | ||
fd4b1131 KR |
103 | /* Define if you have the unlink function. */ |
104 | #undef HAVE_UNLINK | |
105 | ||
106 | /* Define if you have the <errno.h> header file. */ | |
107 | #define HAVE_ERRNO_H | |
108 | ||
109 | /* Define if you have the <memory.h> header file. */ | |
110 | #undef HAVE_MEMORY_H | |
111 | ||
112 | /* Define if you have the <stdarg.h> header file. */ | |
113 | #define HAVE_STDARG_H | |
114 | ||
115 | /* Define if you have the <stdlib.h> header file. */ | |
116 | #define HAVE_STDLIB_H | |
117 | ||
118 | /* Define if you have the <string.h> header file. */ | |
119 | #define HAVE_STRING_H | |
120 | ||
121 | /* Define if you have the <strings.h> header file. */ | |
122 | #undef HAVE_STRINGS_H | |
123 | ||
124 | /* Define if you have the <sys/types.h> header file. */ | |
125 | #ifdef __GNUC__ | |
126 | #define HAVE_SYS_TYPES_H | |
127 | #else | |
128 | #undef HAVE_SYS_TYPES_H | |
129 | #endif | |
130 | ||
131 | /* Define if you have the <unistd.h> header file. */ | |
15f146be | 132 | #define HAVE_UNISTD_H /* config-gas.com will make one if necessary */ |
fd4b1131 KR |
133 | |
134 | /* Define if you have the <varargs.h> header file. */ | |
135 | #undef HAVE_VARARGS_H | |
136 | ||
137 | /* VMS-specific: we need to set up EXIT_xxx here because the default | |
138 | values in as.h are inappropriate for VMS, but we also want to prevent | |
139 | as.h's inclusion of <stdlib.h> from triggering redefinition warnings. | |
140 | <stdlib.h> guards itself against multiple inclusion, so including it | |
141 | here turns as.h's later #include into a no-op. (We can't simply use | |
142 | #ifndef HAVE_STDLIB_H here, because the <stdlib.h> in several older | |
143 | gcc-vms distributions neglects to define these two required macros.) */ | |
144 | #ifdef HAVE_STDLIB_H | |
145 | #include <stdlib.h> | |
146 | #undef EXIT_SUCCESS | |
147 | #undef EXIT_FAILURE | |
148 | #endif | |
149 | #define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */ | |
150 | #define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */ |