]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/config/vms-conf.h
* config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
[thirdparty/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 gas code wants to know these parameters. */
51 #define TARGET_ALIAS "vms"
52 #define TARGET_CPU "vax"
53 #define TARGET_CANONICAL "vax-dec-vms"
54 #define TARGET_OS "vms"
55 #define TARGET_VENDOR "dec"
56
57 /* Sometimes the system header files don't declare malloc and realloc. */
58 #undef NEED_DECLARATION_MALLOC
59
60 /* Sometimes the system header files don't declare free. */
61 #undef NEED_DECLARATION_FREE
62
63 /* Sometimes errno.h doesn't declare errno itself. */
64 #undef NEED_DECLARATION_ERRNO
65
66 #undef MANY_SEGMENTS
67
68 /* Needed only for sparc configuration */
69 #undef SPARC_V9
70 #undef SPARC_ARCH64
71
72 /* Define if you have the remove function. */
73 #define HAVE_REMOVE
74
75 /* Define if you have the unlink function. */
76 #undef HAVE_UNLINK
77
78 /* Define if you have the <errno.h> header file. */
79 #define HAVE_ERRNO_H
80
81 /* Define if you have the <memory.h> header file. */
82 #undef HAVE_MEMORY_H
83
84 /* Define if you have the <stdarg.h> header file. */
85 #define HAVE_STDARG_H
86
87 /* Define if you have the <stdlib.h> header file. */
88 #define HAVE_STDLIB_H
89
90 /* Define if you have the <string.h> header file. */
91 #define HAVE_STRING_H
92
93 /* Define if you have the <strings.h> header file. */
94 #undef HAVE_STRINGS_H
95
96 /* Define if you have the <sys/types.h> header file. */
97 #ifdef __GNUC__
98 #define HAVE_SYS_TYPES_H
99 #else
100 #undef HAVE_SYS_TYPES_H
101 #endif
102
103 /* Define if you have the <unistd.h> header file. */
104 #define HAVE_UNISTD_H /* config-gas.com will make one if necessary */
105
106 /* Define if you have the <varargs.h> header file. */
107 #undef HAVE_VARARGS_H
108
109 /* VMS-specific: we need to set up EXIT_xxx here because the default
110 values in as.h are inappropriate for VMS, but we also want to prevent
111 as.h's inclusion of <stdlib.h> from triggering redefinition warnings.
112 <stdlib.h> guards itself against multiple inclusion, so including it
113 here turns as.h's later #include into a no-op. (We can't simply use
114 #ifndef HAVE_STDLIB_H here, because the <stdlib.h> in several older
115 gcc-vms distributions neglects to define these two required macros.) */
116 #ifdef HAVE_STDLIB_H
117 #include <stdlib.h>
118 #undef EXIT_SUCCESS
119 #undef EXIT_FAILURE
120 #endif
121 #define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */
122 #define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */