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