delete -> remove
[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.h> and it should be used (not on Ultrix). */
16 #undef HAVE_ALLOCA_H
17
18 /* Define as __inline if that's what the C compiler calls it. */
19 #ifdef __GNUC__
20 #undef inline
21 #else
22 #define inline
23 #endif
24
25 /* If using the C implementation of alloca, define if you know the
26 direction of stack growth for your system; otherwise it will be
27 automatically deduced at run-time.
28 STACK_DIRECTION > 0 => grows toward higher addresses
29 STACK_DIRECTION < 0 => grows toward lower addresses
30 STACK_DIRECTION = 0 => direction of growth unknown
31 */
32 #define STACK_DIRECTION (-1)
33
34 /* Should gas use high-level BFD interfaces? */
35 #undef BFD_ASSEMBLER
36
37 /* Some assert/preprocessor combinations are incapable of handling
38 certain kinds of constructs in the argument of assert. For example,
39 quoted strings (if requoting isn't done right) or newlines. */
40 #ifdef __GNUC__
41 #undef BROKEN_ASSERT
42 #else
43 #define BROKEN_ASSERT
44 #endif
45
46 /* If we aren't doing cross-assembling, some operations can be optimized,
47 since byte orders and value sizes don't need to be adjusted. */
48 #undef CROSS_COMPILE
49
50 /* Some IBM compilers can't handle some of the (rather basic) constructs
51 used in the 68k support code. */
52 #undef IBM_COMPILER_SUX
53
54 /* Some gas code wants to know these parameters. */
55 #define TARGET_ALIAS "vms"
56 #define TARGET_CPU "vax"
57 #define TARGET_CANONICAL "vax-dec-vms"
58 #define TARGET_OS "vms"
59 #define TARGET_VENDOR "dec"
60
61 /* Some operating systems, for example DOS, require the use of "wb" mode when
62 opening a binary file for writing. If only "w" is used, the file will not
63 be correct. However, some other systems reject such a mode. This indicates
64 which ../include/fopen-*.h header file we want to include, so that we can
65 get macros that'll do the right thing for this system. */
66 #undef WANT_FOPEN_BIN
67
68 /* Sometimes the system header files don't declare malloc and realloc. */
69 #undef NEED_DECLARATION_MALLOC
70
71 /* Sometimes the system header files don't declare free. */
72 #undef NEED_DECLARATION_FREE
73
74 /* Sometimes errno.h doesn't declare errno itself. */
75 #undef NEED_DECLARATION_ERRNO
76
77 #undef MANY_SEGMENTS
78
79 /* Needed only for sparc configuration */
80 #undef sparcv9
81
82 /* Define if you have the remove function. */
83 #define HAVE_REMOVE
84
85 /* Define if you have the unlink function. */
86 #undef HAVE_UNLINK
87
88 /* Define if you have the <errno.h> header file. */
89 #define HAVE_ERRNO_H
90
91 /* Define if you have the <memory.h> header file. */
92 #undef HAVE_MEMORY_H
93
94 /* Define if you have the <stdarg.h> header file. */
95 #define HAVE_STDARG_H
96
97 /* Define if you have the <stdlib.h> header file. */
98 #define HAVE_STDLIB_H
99
100 /* Define if you have the <string.h> header file. */
101 #define HAVE_STRING_H
102
103 /* Define if you have the <strings.h> header file. */
104 #undef HAVE_STRINGS_H
105
106 /* Define if you have the <sys/types.h> header file. */
107 #ifdef __GNUC__
108 #define HAVE_SYS_TYPES_H
109 #else
110 #undef HAVE_SYS_TYPES_H
111 #endif
112
113 /* Define if you have the <unistd.h> header file. */
114 #undef HAVE_UNISTD_H
115
116 /* Define if you have the <varargs.h> header file. */
117 #undef HAVE_VARARGS_H
118
119 /* VMS-specific: we need to set up EXIT_xxx here because the default
120 values in as.h are inappropriate for VMS, but we also want to prevent
121 as.h's inclusion of <stdlib.h> from triggering redefinition warnings.
122 <stdlib.h> guards itself against multiple inclusion, so including it
123 here turns as.h's later #include into a no-op. (We can't simply use
124 #ifndef HAVE_STDLIB_H here, because the <stdlib.h> in several older
125 gcc-vms distributions neglects to define these two required macros.) */
126 #ifdef HAVE_STDLIB_H
127 #include <stdlib.h>
128 #undef EXIT_SUCCESS
129 #undef EXIT_FAILURE
130 #endif
131 #define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */
132 #define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */