131580a89Sskrll /* This file is automatically generated. DO NOT EDIT! */ 2*801f73adSchristos /* Generated from: NetBSD: mknative-binutils,v 1.16 2024/06/30 16:11:11 christos Exp */ 38005419bSchristos /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ 431580a89Sskrll 5f54a3a20Smrg /* config.h. Generated from config.in by configure. */ 6f51ed01fSchristos /* config.in. Generated from configure.ac by autoheader. */ 731580a89Sskrll 808ee8ae3Schristos /* Check that config.h is #included before system headers 908ee8ae3Schristos (this works only for glibc, but that should be enough). */ 1008ee8ae3Schristos #if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__) 1108ee8ae3Schristos # error config.h must be #included before system headers 1208ee8ae3Schristos #endif 1308ee8ae3Schristos #define __CONFIG_H__ 1 1408ee8ae3Schristos 15*801f73adSchristos /* Default compression algorithm for --enable-compressed-debug-sections. */ 16*801f73adSchristos #define DEFAULT_COMPRESSED_DEBUG_ALGORITHM COMPRESS_DEBUG_GABI_ZLIB 17*801f73adSchristos 188005419bSchristos /* Define to 1 if you want to emit gnu hash in the ELF linker by default. */ 198005419bSchristos #define DEFAULT_EMIT_GNU_HASH 0 208005419bSchristos 218005419bSchristos /* Define to 1 if you want to emit sysv hash in the ELF linker by default. */ 228005419bSchristos #define DEFAULT_EMIT_SYSV_HASH 1 238005419bSchristos 24f51ed01fSchristos /* Define if you want compressed debug sections by default. */ 25f51ed01fSchristos /* #undef DEFAULT_FLAG_COMPRESS_DEBUG */ 26f51ed01fSchristos 27*801f73adSchristos /* Define to 1 if you want to turn executable stack warnings into errors by 28*801f73adSchristos default. */ 29*801f73adSchristos #define DEFAULT_LD_ERROR_EXECSTACK 0 30*801f73adSchristos 31*801f73adSchristos /* Define to 1 if you want to turn executable segment warnings into errors by 32*801f73adSchristos default. */ 33*801f73adSchristos #define DEFAULT_LD_ERROR_RWX_SEGMENTS 0 34*801f73adSchristos 358c762729Schristos /* Define to 0 if you want to disable the generation of an executable stack 368c762729Schristos when a .note-GNU-stack section is missing. */ 3752d4d320Schristos #define DEFAULT_LD_EXECSTACK 0 388c762729Schristos 398c762729Schristos /* The default method for DT_TEXTREL check in ELF linker. */ 408c762729Schristos #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none 418c762729Schristos 428c762729Schristos /* Define to 1 if DT_TEXTREL check is warning in ELF linker by default. */ 438c762729Schristos #define DEFAULT_LD_TEXTREL_CHECK_WARNING 0 448c762729Schristos 458c762729Schristos /* Define to 1 if you want to enable --warn-execstack in ELF linker by 468c762729Schristos default. */ 478c762729Schristos #define DEFAULT_LD_WARN_EXECSTACK 2 488c762729Schristos 498c762729Schristos /* Define to 0 if you want to disable --warn-rwx-segments in ELF linker by 508c762729Schristos default. */ 518c762729Schristos #define DEFAULT_LD_WARN_RWX_SEGMENTS 1 528c762729Schristos 53*801f73adSchristos /* Define to 1 if you want to enable -z mark-plt in ELF x86-64 linker by 54*801f73adSchristos default. */ 55*801f73adSchristos #define DEFAULT_LD_Z_MARK_PLT 0 56*801f73adSchristos 5730b9303dSmrg /* Define to 1 if you want to enable -z relro in ELF linker by default. */ 5830b9303dSmrg #define DEFAULT_LD_Z_RELRO 0 5930b9303dSmrg 608005419bSchristos /* Define to 1 if you want to enable -z separate-code in ELF linker by 618005419bSchristos default. */ 628005419bSchristos #define DEFAULT_LD_Z_SEPARATE_CODE 0 638005419bSchristos 648005419bSchristos /* Define to 1 if you want to set DT_RUNPATH instead of DT_RPATH by default. 658005419bSchristos */ 668005419bSchristos #define DEFAULT_NEW_DTAGS 0 678005419bSchristos 688c762729Schristos /* Define if you want run-time sanity checks. */ 698c762729Schristos /* #undef ENABLE_CHECKING */ 708c762729Schristos 718c762729Schristos /* Handle .ctf type-info sections */ 728c762729Schristos #define ENABLE_LIBCTF 1 738c762729Schristos 7431580a89Sskrll /* Define to 1 if translation of program messages to the user's native 7531580a89Sskrll language is requested. */ 76*801f73adSchristos /* #undef ENABLE_NLS */ 7731580a89Sskrll 7831580a89Sskrll /* Additional extension a shared object might have. */ 7931580a89Sskrll /* #undef EXTRA_SHLIB_EXTENSION */ 8031580a89Sskrll 8131580a89Sskrll /* Define to choose default GOT handling scheme */ 8231580a89Sskrll #define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT 8331580a89Sskrll 84*801f73adSchristos /* Define to 1 if you have the Mac OS X function 85*801f73adSchristos CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 86*801f73adSchristos /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ 87*801f73adSchristos 88*801f73adSchristos /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 89*801f73adSchristos the CoreFoundation framework. */ 90*801f73adSchristos /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ 91*801f73adSchristos 92f54a3a20Smrg /* Define to 1 if you have the `close' function. */ 93f54a3a20Smrg #define HAVE_CLOSE 1 94f54a3a20Smrg 95*801f73adSchristos /* Define if the GNU dcgettext() function is already present or preinstalled. 96*801f73adSchristos */ 97*801f73adSchristos /* #undef HAVE_DCGETTEXT */ 98*801f73adSchristos 998c762729Schristos /* Define to 1 if you have the declaration of `asprintf', and to 0 if you 1008c762729Schristos don't. */ 1018c762729Schristos #define HAVE_DECL_ASPRINTF 1 1028c762729Schristos 10331580a89Sskrll /* Define to 1 if you have the declaration of `environ', and to 0 if you 10431580a89Sskrll don't. */ 10531580a89Sskrll #define HAVE_DECL_ENVIRON 0 10631580a89Sskrll 10731580a89Sskrll /* Is the prototype for getopt in <unistd.h> in the expected format? */ 10831580a89Sskrll #define HAVE_DECL_GETOPT 1 10931580a89Sskrll 110*801f73adSchristos /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't. 11131580a89Sskrll */ 112*801f73adSchristos #define HAVE_DECL_STPCPY 1 11331580a89Sskrll 11431580a89Sskrll /* Define to 1 if you have the <dlfcn.h> header file. */ 11531580a89Sskrll #define HAVE_DLFCN_H 1 11631580a89Sskrll 11731580a89Sskrll /* Define to 1 if you have the <elf-hints.h> header file. */ 11831580a89Sskrll /* #undef HAVE_ELF_HINTS_H */ 11931580a89Sskrll 120f54a3a20Smrg /* Define to 1 if you have the <fcntl.h> header file. */ 121f54a3a20Smrg #define HAVE_FCNTL_H 1 122f54a3a20Smrg 123f51ed01fSchristos /* Define to 1 if you have the `getpagesize' function. */ 124f51ed01fSchristos #define HAVE_GETPAGESIZE 1 125f51ed01fSchristos 126*801f73adSchristos /* Define if the GNU gettext() function is already present or preinstalled. */ 127*801f73adSchristos /* #undef HAVE_GETTEXT */ 128*801f73adSchristos 12931580a89Sskrll /* Define to 1 if you have the `glob' function. */ 13031580a89Sskrll #define HAVE_GLOB 1 13131580a89Sskrll 132*801f73adSchristos /* Define if you have the iconv() function and it works. */ 133*801f73adSchristos #define HAVE_ICONV 1 134*801f73adSchristos 13508ee8ae3Schristos /* Define .init_array/.fini_array sections are available and working. */ 136c4608cd2Smrg #define HAVE_INITFINI_ARRAY 1 13708ee8ae3Schristos 13831580a89Sskrll /* Define to 1 if you have the <inttypes.h> header file. */ 13931580a89Sskrll #define HAVE_INTTYPES_H 1 14031580a89Sskrll 1418c762729Schristos /* The jansson library is to be used */ 1428c762729Schristos /* #undef HAVE_JANSSON */ 1438c762729Schristos 14408ee8ae3Schristos /* Define if your <locale.h> file defines LC_MESSAGES. */ 14508ee8ae3Schristos #define HAVE_LC_MESSAGES 1 14608ee8ae3Schristos 14731580a89Sskrll /* Define to 1 if you have the <limits.h> header file. */ 14831580a89Sskrll #define HAVE_LIMITS_H 1 14931580a89Sskrll 150f54a3a20Smrg /* Define to 1 if you have the `lseek' function. */ 151f54a3a20Smrg #define HAVE_LSEEK 1 152f54a3a20Smrg 15331580a89Sskrll /* Define to 1 if you have the <memory.h> header file. */ 15431580a89Sskrll #define HAVE_MEMORY_H 1 15531580a89Sskrll 15631580a89Sskrll /* Define to 1 if you have the `mkstemp' function. */ 15731580a89Sskrll #define HAVE_MKSTEMP 1 15831580a89Sskrll 159f51ed01fSchristos /* Define to 1 if you have a working `mmap' system call. */ 160f51ed01fSchristos #define HAVE_MMAP 1 161f51ed01fSchristos 162f54a3a20Smrg /* Define to 1 if you have the `open' function. */ 163f54a3a20Smrg #define HAVE_OPEN 1 164f54a3a20Smrg 16531580a89Sskrll /* Define to 1 if you have the `realpath' function. */ 16631580a89Sskrll #define HAVE_REALPATH 1 16731580a89Sskrll 16831580a89Sskrll /* Define to 1 if you have the <stdint.h> header file. */ 16931580a89Sskrll #define HAVE_STDINT_H 1 17031580a89Sskrll 17131580a89Sskrll /* Define to 1 if you have the <stdlib.h> header file. */ 17231580a89Sskrll #define HAVE_STDLIB_H 1 17331580a89Sskrll 17431580a89Sskrll /* Define to 1 if you have the <strings.h> header file. */ 17531580a89Sskrll #define HAVE_STRINGS_H 1 17631580a89Sskrll 17731580a89Sskrll /* Define to 1 if you have the <string.h> header file. */ 17831580a89Sskrll #define HAVE_STRING_H 1 17931580a89Sskrll 180f54a3a20Smrg /* Define to 1 if you have the <sys/file.h> header file. */ 181f54a3a20Smrg #define HAVE_SYS_FILE_H 1 182f54a3a20Smrg 1838c762729Schristos /* Define to 1 if you have the <sys/mman.h> header file. */ 1848c762729Schristos #define HAVE_SYS_MMAN_H 1 18531580a89Sskrll 18631580a89Sskrll /* Define to 1 if you have the <sys/param.h> header file. */ 18731580a89Sskrll #define HAVE_SYS_PARAM_H 1 18831580a89Sskrll 18931580a89Sskrll /* Define to 1 if you have the <sys/stat.h> header file. */ 19031580a89Sskrll #define HAVE_SYS_STAT_H 1 19131580a89Sskrll 192f54a3a20Smrg /* Define to 1 if you have the <sys/time.h> header file. */ 193f54a3a20Smrg #define HAVE_SYS_TIME_H 1 194f54a3a20Smrg 19531580a89Sskrll /* Define to 1 if you have the <sys/types.h> header file. */ 19631580a89Sskrll #define HAVE_SYS_TYPES_H 1 19731580a89Sskrll 19831580a89Sskrll /* Define to 1 if you have the <unistd.h> header file. */ 19931580a89Sskrll #define HAVE_UNISTD_H 1 20031580a89Sskrll 20131580a89Sskrll /* Define to 1 if you have the `waitpid' function. */ 20231580a89Sskrll #define HAVE_WAITPID 1 20331580a89Sskrll 20408ee8ae3Schristos /* Define to 1 if you have the <windows.h> header file. */ 205f54a3a20Smrg /* #undef HAVE_WINDOWS_H */ 206f54a3a20Smrg 207*801f73adSchristos /* Define to 1 if zstd is enabled. */ 208*801f73adSchristos /* #undef HAVE_ZSTD */ 209*801f73adSchristos 21031580a89Sskrll /* Define to the sub-directory in which libtool stores uninstalled libraries. 21131580a89Sskrll */ 21231580a89Sskrll #define LT_OBJDIR ".libs/" 21331580a89Sskrll 21431580a89Sskrll /* Name of package */ 21531580a89Sskrll #define PACKAGE "ld" 21631580a89Sskrll 21731580a89Sskrll /* Define to the address where bug reports for this package should be sent. */ 21831580a89Sskrll #define PACKAGE_BUGREPORT "" 21931580a89Sskrll 22031580a89Sskrll /* Define to the full name of this package. */ 221f51ed01fSchristos #define PACKAGE_NAME "ld" 22231580a89Sskrll 22331580a89Sskrll /* Define to the full name and version of this package. */ 224*801f73adSchristos #define PACKAGE_STRING "ld 2.42" 22531580a89Sskrll 22631580a89Sskrll /* Define to the one symbol short name of this package. */ 227f51ed01fSchristos #define PACKAGE_TARNAME "ld" 22831580a89Sskrll 229f54a3a20Smrg /* Define to the home page for this package. */ 230f54a3a20Smrg #define PACKAGE_URL "" 231f54a3a20Smrg 23231580a89Sskrll /* Define to the version of this package. */ 233*801f73adSchristos #define PACKAGE_VERSION "2.42" 23431580a89Sskrll 23508ee8ae3Schristos /* The size of `void *', as computed by sizeof. */ 23608ee8ae3Schristos #define SIZEOF_VOID_P 8 23731580a89Sskrll 23831580a89Sskrll /* Define to 1 if you have the ANSI C header files. */ 23931580a89Sskrll #define STDC_HEADERS 1 24031580a89Sskrll 2418c762729Schristos /* Define to 1 if you want to support the --error-handling-script command line 2428c762729Schristos option. */ 2438c762729Schristos #define SUPPORT_ERROR_HANDLING_SCRIPT 1 24408ee8ae3Schristos 24531580a89Sskrll /* Use b modifier when opening binary files? */ 24631580a89Sskrll /* #undef USE_BINARY_FOPEN */ 24731580a89Sskrll 24831580a89Sskrll /* Enable extensions on AIX 3, Interix. */ 24931580a89Sskrll #ifndef _ALL_SOURCE 25031580a89Sskrll # define _ALL_SOURCE 1 25131580a89Sskrll #endif 25231580a89Sskrll /* Enable GNU extensions on systems that have them. */ 25331580a89Sskrll #ifndef _GNU_SOURCE 25431580a89Sskrll # define _GNU_SOURCE 1 25531580a89Sskrll #endif 25631580a89Sskrll /* Enable threading extensions on Solaris. */ 25731580a89Sskrll #ifndef _POSIX_PTHREAD_SEMANTICS 25831580a89Sskrll # define _POSIX_PTHREAD_SEMANTICS 1 25931580a89Sskrll #endif 26031580a89Sskrll /* Enable extensions on HP NonStop. */ 26131580a89Sskrll #ifndef _TANDEM_SOURCE 26231580a89Sskrll # define _TANDEM_SOURCE 1 26331580a89Sskrll #endif 26431580a89Sskrll /* Enable general extensions on Solaris. */ 26531580a89Sskrll #ifndef __EXTENSIONS__ 26631580a89Sskrll # define __EXTENSIONS__ 1 26731580a89Sskrll #endif 26831580a89Sskrll 269f54a3a20Smrg 270f54a3a20Smrg /* Version number of package */ 271*801f73adSchristos #define VERSION "2.42" 272f54a3a20Smrg 273f54a3a20Smrg /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 274f54a3a20Smrg `char[]'. */ 275f54a3a20Smrg #define YYTEXT_POINTER 1 276f54a3a20Smrg 2778005419bSchristos /* Enable large inode numbers on Mac OS X 10.5. */ 2788005419bSchristos #ifndef _DARWIN_USE_64_BIT_INODE 2798005419bSchristos # define _DARWIN_USE_64_BIT_INODE 1 2808005419bSchristos #endif 2818005419bSchristos 282f54a3a20Smrg /* Number of bits in a file offset, on hosts where this is settable. */ 283f54a3a20Smrg /* #undef _FILE_OFFSET_BITS */ 284f54a3a20Smrg 285f54a3a20Smrg /* Define for large files, on AIX-style hosts. */ 286f54a3a20Smrg /* #undef _LARGE_FILES */ 287f54a3a20Smrg 288f54a3a20Smrg /* Define to 1 if on MINIX. */ 289f54a3a20Smrg /* #undef _MINIX */ 290f54a3a20Smrg 291f54a3a20Smrg /* Define to 2 if the system does not provide POSIX.1 features except with 292f54a3a20Smrg this defined. */ 293f54a3a20Smrg /* #undef _POSIX_1_SOURCE */ 294f54a3a20Smrg 295f54a3a20Smrg /* Define to 1 if you need to in order for `stat' and other things to work. */ 296f54a3a20Smrg /* #undef _POSIX_SOURCE */ 297