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