1 1.1 christos /* This file is automatically generated. DO NOT EDIT! */ 2 1.9 christos /* Generated from: NetBSD: mknative-binutils,v 1.16 2024/06/30 16:11:11 christos Exp */ 3 1.6 christos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 4 1.1 christos 5 1.1 christos /* config.h. Generated from config.in by configure. */ 6 1.3 christos /* config.in. Generated from configure.ac by autoheader. */ 7 1.1 christos 8 1.1 christos /* Check that config.h is #included before system headers 9 1.1 christos (this works only for glibc, but that should be enough). */ 10 1.1 christos #if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__) 11 1.1 christos # error config.h must be #included before system headers 12 1.1 christos #endif 13 1.1 christos #define __CONFIG_H__ 1 14 1.1 christos 15 1.9 christos /* Default compression algorithm for --enable-compressed-debug-sections. */ 16 1.9 christos #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM COMPRESS_DEBUG_GABI_ZLIB 17 1.9 christos 18 1.6 christos /* Define to 1 if you want to emit gnu hash in the ELF linker by default. */ 19 1.6 christos #define DEFAULT_EMIT_GNU_HASH 0 20 1.6 christos 21 1.6 christos /* Define to 1 if you want to emit sysv hash in the ELF linker by default. */ 22 1.6 christos #define DEFAULT_EMIT_SYSV_HASH 1 23 1.6 christos 24 1.3 christos /* Define if you want compressed debug sections by default. */ 25 1.3 christos /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */ 26 1.3 christos 27 1.9 christos /* Define to 1 if you want to turn executable stack warnings into errors by 28 1.9 christos default. */ 29 1.9 christos #define DEFAULT_LD_ERROR_EXECSTACK 0 30 1.9 christos 31 1.9 christos /* Define to 1 if you want to turn executable segment warnings into errors by 32 1.9 christos default. */ 33 1.9 christos #define DEFAULT_LD_ERROR_RWX_SEGMENTS 0 34 1.9 christos 35 1.8 christos /* Define to 0 if you want to disable the generation of an executable stack 36 1.8 christos when a .note-GNU-stack section is missing. */ 37 1.8 christos #define DEFAULT_LD_EXECSTACK 0 38 1.8 christos 39 1.10 christos /* Define to 1 if you want to enable --rosegment in the ELF linker by default. 40 1.10 christos */ 41 1.10 christos #define DEFAULT_LD_ROSEGMENT 0 42 1.10 christos 43 1.8 christos /* The default method for DT_TEXTREL check in ELF linker. */ 44 1.8 christos #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none 45 1.8 christos 46 1.8 christos /* Define to 1 if DT_TEXTREL check is warning in ELF linker by default. */ 47 1.8 christos #define DEFAULT_LD_TEXTREL_CHECK_WARNING 0 48 1.8 christos 49 1.8 christos /* Define to 1 if you want to enable --warn-execstack in ELF linker by 50 1.8 christos default. */ 51 1.8 christos #define DEFAULT_LD_WARN_EXECSTACK 0 52 1.8 christos 53 1.8 christos /* Define to 0 if you want to disable --warn-rwx-segments in ELF linker by 54 1.8 christos default. */ 55 1.8 christos #define DEFAULT_LD_WARN_RWX_SEGMENTS 0 56 1.8 christos 57 1.9 christos /* Define to 1 if you want to enable -z mark-plt in ELF x86-64 linker by 58 1.9 christos default. */ 59 1.9 christos #define DEFAULT_LD_Z_MARK_PLT 0 60 1.9 christos 61 1.10 christos /* Define to 1 if you want to enable -z memory_seal in ELF linker by default. 62 1.10 christos */ 63 1.10 christos #define DEFAULT_LD_Z_MEMORY_SEAL 0 64 1.10 christos 65 1.5 christos /* Define to 1 if you want to enable -z relro in ELF linker by default. */ 66 1.5 christos #define DEFAULT_LD_Z_RELRO 0 67 1.5 christos 68 1.6 christos /* Define to 1 if you want to enable -z separate-code in ELF linker by 69 1.6 christos default. */ 70 1.6 christos #define DEFAULT_LD_Z_SEPARATE_CODE 0 71 1.6 christos 72 1.6 christos /* Define to 1 if you want to set DT_RUNPATH instead of DT_RPATH by default. 73 1.6 christos */ 74 1.6 christos #define DEFAULT_NEW_DTAGS 0 75 1.6 christos 76 1.8 christos /* Define if you want run-time sanity checks. */ 77 1.8 christos /* #undef ENABLE_CHECKING */ 78 1.8 christos 79 1.8 christos /* Handle .ctf type-info sections */ 80 1.8 christos #define ENABLE_LIBCTF 1 81 1.8 christos 82 1.1 christos /* Define to 1 if translation of program messages to the user's native 83 1.1 christos language is requested. */ 84 1.9 christos /* #undef ENABLE_NLS */ 85 1.1 christos 86 1.1 christos /* Additional extension a shared object might have. */ 87 1.1 christos /* #undef EXTRA_SHLIB_EXTENSION */ 88 1.1 christos 89 1.1 christos /* Define to choose default GOT handling scheme */ 90 1.1 christos #define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT 91 1.1 christos 92 1.9 christos /* Define to 1 if you have the Mac OS X function 93 1.9 christos CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 94 1.9 christos /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ 95 1.9 christos 96 1.9 christos /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 97 1.9 christos the CoreFoundation framework. */ 98 1.9 christos /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ 99 1.9 christos 100 1.1 christos /* Define to 1 if you have the `close' function. */ 101 1.1 christos #define HAVE_CLOSE 1 102 1.1 christos 103 1.9 christos /* Define if the GNU dcgettext() function is already present or preinstalled. 104 1.9 christos */ 105 1.9 christos /* #undef HAVE_DCGETTEXT */ 106 1.9 christos 107 1.1 christos /* Define to 1 if you have the declaration of `environ', and to 0 if you 108 1.1 christos don't. */ 109 1.1 christos #define HAVE_DECL_ENVIRON 0 110 1.1 christos 111 1.1 christos /* Is the prototype for getopt in <unistd.h> in the expected format? */ 112 1.1 christos #define HAVE_DECL_GETOPT 1 113 1.1 christos 114 1.9 christos /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. 115 1.1 christos */ 116 1.9 christos #define HAVE_DECL_STPCPY 1 117 1.1 christos 118 1.1 christos /* Define to 1 if you have the <dlfcn.h> header file. */ 119 1.1 christos #define HAVE_DLFCN_H 1 120 1.1 christos 121 1.1 christos /* Define to 1 if you have the <elf-hints.h> header file. */ 122 1.1 christos /* #undef HAVE_ELF_HINTS_H */ 123 1.1 christos 124 1.1 christos /* Define to 1 if you have the <fcntl.h> header file. */ 125 1.1 christos #define HAVE_FCNTL_H 1 126 1.1 christos 127 1.3 christos /* Define to 1 if you have the `getpagesize' function. */ 128 1.3 christos #define HAVE_GETPAGESIZE 1 129 1.3 christos 130 1.10 christos /* Define to 1 if you have the `getrusage' function. */ 131 1.10 christos #define HAVE_GETRUSAGE 1 132 1.10 christos 133 1.9 christos /* Define if the GNU gettext() function is already present or preinstalled. */ 134 1.9 christos /* #undef HAVE_GETTEXT */ 135 1.9 christos 136 1.1 christos /* Define to 1 if you have the `glob' function. */ 137 1.1 christos #define HAVE_GLOB 1 138 1.1 christos 139 1.9 christos /* Define if you have the iconv() function and it works. */ 140 1.9 christos #define HAVE_ICONV 1 141 1.9 christos 142 1.1 christos /* Define .init_array/.fini_array sections are available and working. */ 143 1.7 christos #define HAVE_INITFINI_ARRAY 1 144 1.1 christos 145 1.1 christos /* Define to 1 if you have the <inttypes.h> header file. */ 146 1.1 christos #define HAVE_INTTYPES_H 1 147 1.1 christos 148 1.8 christos /* The jansson library is to be used */ 149 1.8 christos /* #undef HAVE_JANSSON */ 150 1.8 christos 151 1.1 christos /* Define if your <locale.h> file defines LC_MESSAGES. */ 152 1.1 christos #define HAVE_LC_MESSAGES 1 153 1.1 christos 154 1.1 christos /* Define to 1 if you have the <limits.h> header file. */ 155 1.1 christos #define HAVE_LIMITS_H 1 156 1.1 christos 157 1.1 christos /* Define to 1 if you have the `lseek' function. */ 158 1.1 christos #define HAVE_LSEEK 1 159 1.1 christos 160 1.1 christos /* Define to 1 if you have the <memory.h> header file. */ 161 1.1 christos #define HAVE_MEMORY_H 1 162 1.1 christos 163 1.1 christos /* Define to 1 if you have the `mkstemp' function. */ 164 1.1 christos #define HAVE_MKSTEMP 1 165 1.1 christos 166 1.3 christos /* Define to 1 if you have a working `mmap' system call. */ 167 1.3 christos #define HAVE_MMAP 1 168 1.3 christos 169 1.1 christos /* Define to 1 if you have the `open' function. */ 170 1.1 christos #define HAVE_OPEN 1 171 1.1 christos 172 1.1 christos /* Define to 1 if you have the `realpath' function. */ 173 1.1 christos #define HAVE_REALPATH 1 174 1.1 christos 175 1.1 christos /* Define to 1 if you have the <stdint.h> header file. */ 176 1.1 christos #define HAVE_STDINT_H 1 177 1.1 christos 178 1.1 christos /* Define to 1 if you have the <stdlib.h> header file. */ 179 1.1 christos #define HAVE_STDLIB_H 1 180 1.1 christos 181 1.1 christos /* Define to 1 if you have the <strings.h> header file. */ 182 1.1 christos #define HAVE_STRINGS_H 1 183 1.1 christos 184 1.1 christos /* Define to 1 if you have the <string.h> header file. */ 185 1.1 christos #define HAVE_STRING_H 1 186 1.1 christos 187 1.1 christos /* Define to 1 if you have the <sys/file.h> header file. */ 188 1.1 christos #define HAVE_SYS_FILE_H 1 189 1.1 christos 190 1.8 christos /* Define to 1 if you have the <sys/mman.h> header file. */ 191 1.8 christos #define HAVE_SYS_MMAN_H 1 192 1.1 christos 193 1.1 christos /* Define to 1 if you have the <sys/param.h> header file. */ 194 1.1 christos #define HAVE_SYS_PARAM_H 1 195 1.1 christos 196 1.1 christos /* Define to 1 if you have the <sys/stat.h> header file. */ 197 1.1 christos #define HAVE_SYS_STAT_H 1 198 1.1 christos 199 1.1 christos /* Define to 1 if you have the <sys/time.h> header file. */ 200 1.1 christos #define HAVE_SYS_TIME_H 1 201 1.1 christos 202 1.1 christos /* Define to 1 if you have the <sys/types.h> header file. */ 203 1.1 christos #define HAVE_SYS_TYPES_H 1 204 1.1 christos 205 1.1 christos /* Define to 1 if you have the <unistd.h> header file. */ 206 1.1 christos #define HAVE_UNISTD_H 1 207 1.1 christos 208 1.1 christos /* Define to 1 if you have the `waitpid' function. */ 209 1.1 christos #define HAVE_WAITPID 1 210 1.1 christos 211 1.1 christos /* Define to 1 if you have the <windows.h> header file. */ 212 1.1 christos /* #undef HAVE_WINDOWS_H */ 213 1.1 christos 214 1.9 christos /* Define to 1 if zstd is enabled. */ 215 1.9 christos /* #undef HAVE_ZSTD */ 216 1.9 christos 217 1.1 christos /* Define to the sub-directory in which libtool stores uninstalled libraries. 218 1.1 christos */ 219 1.1 christos #define LT_OBJDIR ".libs/" 220 1.1 christos 221 1.1 christos /* Name of package */ 222 1.1 christos #define PACKAGE "ld" 223 1.1 christos 224 1.1 christos /* Define to the address where bug reports for this package should be sent. */ 225 1.1 christos #define PACKAGE_BUGREPORT "" 226 1.1 christos 227 1.1 christos /* Define to the full name of this package. */ 228 1.3 christos #define PACKAGE_NAME "ld" 229 1.1 christos 230 1.1 christos /* Define to the full name and version of this package. */ 231 1.10 christos #define PACKAGE_STRING "ld 2.45" 232 1.1 christos 233 1.1 christos /* Define to the one symbol short name of this package. */ 234 1.3 christos #define PACKAGE_TARNAME "ld" 235 1.1 christos 236 1.1 christos /* Define to the home page for this package. */ 237 1.1 christos #define PACKAGE_URL "" 238 1.1 christos 239 1.1 christos /* Define to the version of this package. */ 240 1.10 christos #define PACKAGE_VERSION "2.45" 241 1.1 christos 242 1.1 christos /* Define to 1 if you have the ANSI C header files. */ 243 1.1 christos #define STDC_HEADERS 1 244 1.1 christos 245 1.8 christos /* Define to 1 if you want to support the --error-handling-script command line 246 1.8 christos option. */ 247 1.8 christos #define SUPPORT_ERROR_HANDLING_SCRIPT 1 248 1.1 christos 249 1.1 christos /* Use b modifier when opening binary files? */ 250 1.1 christos /* #undef USE_BINARY_FOPEN */ 251 1.1 christos 252 1.1 christos /* Enable extensions on AIX 3, Interix. */ 253 1.1 christos #ifndef _ALL_SOURCE 254 1.1 christos # define _ALL_SOURCE 1 255 1.1 christos #endif 256 1.1 christos /* Enable GNU extensions on systems that have them. */ 257 1.1 christos #ifndef _GNU_SOURCE 258 1.1 christos # define _GNU_SOURCE 1 259 1.1 christos #endif 260 1.1 christos /* Enable threading extensions on Solaris. */ 261 1.1 christos #ifndef _POSIX_PTHREAD_SEMANTICS 262 1.1 christos # define _POSIX_PTHREAD_SEMANTICS 1 263 1.1 christos #endif 264 1.1 christos /* Enable extensions on HP NonStop. */ 265 1.1 christos #ifndef _TANDEM_SOURCE 266 1.1 christos # define _TANDEM_SOURCE 1 267 1.1 christos #endif 268 1.1 christos /* Enable general extensions on Solaris. */ 269 1.1 christos #ifndef __EXTENSIONS__ 270 1.1 christos # define __EXTENSIONS__ 1 271 1.1 christos #endif 272 1.1 christos 273 1.1 christos 274 1.1 christos /* Version number of package */ 275 1.10 christos #define VERSION "2.45" 276 1.10 christos 277 1.10 christos /* whether to use inline xxhash */ 278 1.10 christos /* #undef WITH_XXHASH */ 279 1.1 christos 280 1.1 christos /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 281 1.1 christos `char[]'. */ 282 1.1 christos #define YYTEXT_POINTER 1 283 1.1 christos 284 1.6 christos /* Enable large inode numbers on Mac OS X 10.5. */ 285 1.6 christos #ifndef _DARWIN_USE_64_BIT_INODE 286 1.6 christos # define _DARWIN_USE_64_BIT_INODE 1 287 1.6 christos #endif 288 1.6 christos 289 1.1 christos /* Number of bits in a file offset, on hosts where this is settable. */ 290 1.1 christos /* #undef _FILE_OFFSET_BITS */ 291 1.1 christos 292 1.1 christos /* Define for large files, on AIX-style hosts. */ 293 1.1 christos /* #undef _LARGE_FILES */ 294 1.1 christos 295 1.1 christos /* Define to 1 if on MINIX. */ 296 1.1 christos /* #undef _MINIX */ 297 1.1 christos 298 1.1 christos /* Define to 2 if the system does not provide POSIX.1 features except with 299 1.1 christos this defined. */ 300 1.1 christos /* #undef _POSIX_1_SOURCE */ 301 1.1 christos 302 1.1 christos /* Define to 1 if you need to in order for `stat' and other things to work. */ 303 1.1 christos /* #undef _POSIX_SOURCE */ 304