| 1 | /* vms-alpha-conf.h. Generated manually from conf.in,
|
|---|
| 2 | and used by config-gas-alpha.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 | #define 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 "alpha-vms"
|
|---|
| 52 | #define TARGET_CPU "alpha"
|
|---|
| 53 | #define TARGET_CANONICAL "alpha-dec-vms"
|
|---|
| 54 | #define TARGET_OS "openVMS/Alpha"
|
|---|
| 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 sparcv9
|
|---|
| 70 |
|
|---|
| 71 | /* Define if you have the remove function. */
|
|---|
| 72 | #define HAVE_REMOVE
|
|---|
| 73 |
|
|---|
| 74 | /* Define if you have the unlink function. */
|
|---|
| 75 | #undef HAVE_UNLINK
|
|---|
| 76 |
|
|---|
| 77 | /* Define if you have the <errno.h> header file. */
|
|---|
| 78 | #define HAVE_ERRNO_H
|
|---|
| 79 |
|
|---|
| 80 | /* Define if you have the <memory.h> header file. */
|
|---|
| 81 | #undef HAVE_MEMORY_H
|
|---|
| 82 |
|
|---|
| 83 | /* Define if you have the <stdarg.h> header file. */
|
|---|
| 84 | #define HAVE_STDARG_H
|
|---|
| 85 |
|
|---|
| 86 | /* Define if you have the <stdlib.h> header file. */
|
|---|
| 87 | #define HAVE_STDLIB_H
|
|---|
| 88 |
|
|---|
| 89 | /* Define if you have the <string.h> header file. */
|
|---|
| 90 | #define HAVE_STRING_H
|
|---|
| 91 |
|
|---|
| 92 | /* Define if you have the <strings.h> header file. */
|
|---|
| 93 | #undef HAVE_STRINGS_H
|
|---|
| 94 |
|
|---|
| 95 | /* Define if you have the <sys/types.h> header file. */
|
|---|
| 96 | #ifdef __GNUC__
|
|---|
| 97 | #define HAVE_SYS_TYPES_H
|
|---|
| 98 | #else
|
|---|
| 99 | #undef HAVE_SYS_TYPES_H
|
|---|
| 100 | #endif
|
|---|
| 101 |
|
|---|
| 102 | /* Define if you have the <unistd.h> header file. */
|
|---|
| 103 | #define HAVE_UNISTD_H /* config-gas.com will make one if necessary */
|
|---|
| 104 |
|
|---|
| 105 | /* Define if you have the <varargs.h> header file. */
|
|---|
| 106 | #undef HAVE_VARARGS_H
|
|---|
| 107 |
|
|---|
| 108 | /* VMS-specific: we need to set up EXIT_xxx here because the default
|
|---|
| 109 | values in as.h are inappropriate for VMS, but we also want to prevent
|
|---|
| 110 | as.h's inclusion of <stdlib.h> from triggering redefinition warnings.
|
|---|
| 111 | <stdlib.h> guards itself against multiple inclusion, so including it
|
|---|
| 112 | here turns as.h's later #include into a no-op. (We can't simply use
|
|---|
| 113 | #ifndef HAVE_STDLIB_H here, because the <stdlib.h> in several older
|
|---|
| 114 | gcc-vms distributions neglects to define these two required macros.) */
|
|---|
| 115 | #ifdef HAVE_STDLIB_H
|
|---|
| 116 | #include <stdlib.h>
|
|---|
| 117 | #endif
|
|---|
| 118 | #if __DECC
|
|---|
| 119 | #undef EXIT_SUCCESS
|
|---|
| 120 | #undef EXIT_FAILURE
|
|---|
| 121 | #define EXIT_SUCCESS 1 /* SS$_NORMAL, STS$K_SUCCESS */
|
|---|
| 122 | #define EXIT_FAILURE 0x10000002 /* (STS$K_ERROR | STS$M_INHIB_MSG) */
|
|---|
| 123 | #endif
|
|---|
| 124 |
|
|---|
| 125 | #include <unixlib.h>
|
|---|
| 126 | #if __DECC
|
|---|
| 127 | extern int strcasecmp ();
|
|---|
| 128 | extern int strncasecmp ();
|
|---|
| 129 | #endif
|
|---|