xref: /netbsd-src/external/gpl3/binutils/lib/libbfd/arch/riscv64/config.h (revision 8017598ae479fae0792b155eb2c28e8351e04dc1)
12db0c478Smatt /* This file is automatically generated.  DO NOT EDIT! */
2*8017598aSskrll /* Generated from: NetBSD: mknative-binutils,v 1.16 2024/06/30 16:11:11 christos Exp  */
3b543e834Smrg /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp  */
42db0c478Smatt 
52db0c478Smatt /* config.h.  Generated from config.in by configure.  */
60260838fSchristos /* config.in.  Generated from configure.ac by autoheader.  */
72db0c478Smatt 
82db0c478Smatt /* Check that config.h is #included before system headers
92db0c478Smatt     (this works only for glibc, but that should be enough).  */
102db0c478Smatt #if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
112db0c478Smatt #  error config.h must be #included before system headers
122db0c478Smatt #endif
132db0c478Smatt #define __CONFIG_H__ 1
142db0c478Smatt 
15*8017598aSskrll /* Define if building universal (internal helper macro) */
16*8017598aSskrll /* #undef AC_APPLE_UNIVERSAL_BUILD */
17*8017598aSskrll 
182db0c478Smatt /* Name of host specific core header file to include in elf.c. */
192db0c478Smatt /* #undef CORE_HEADER */
202db0c478Smatt 
21b543e834Smrg /* Define to 1 if you want to enable -z separate-code in ELF linker by
22b543e834Smrg    default. */
23b543e834Smrg #define DEFAULT_LD_Z_SEPARATE_CODE 0
24b543e834Smrg 
251c5a60bcSchristos /* Define if you want run-time sanity checks. */
261c5a60bcSchristos /* #undef ENABLE_CHECKING */
271c5a60bcSchristos 
282db0c478Smatt /* Define to 1 if translation of program messages to the user's native
292db0c478Smatt    language is requested. */
30*8017598aSskrll /* #undef ENABLE_NLS */
31*8017598aSskrll 
32*8017598aSskrll /* Define to 1 if you have the Mac OS X function
33*8017598aSskrll    CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
34*8017598aSskrll /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */
35*8017598aSskrll 
36*8017598aSskrll /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
37*8017598aSskrll    the CoreFoundation framework. */
38*8017598aSskrll /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
39*8017598aSskrll 
40*8017598aSskrll /* Define if the GNU dcgettext() function is already present or preinstalled.
41*8017598aSskrll    */
42*8017598aSskrll /* #undef HAVE_DCGETTEXT */
432db0c478Smatt 
440260838fSchristos /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
450260838fSchristos    don't. */
460260838fSchristos #define HAVE_DECL_ASPRINTF 1
470260838fSchristos 
482db0c478Smatt /* Define to 1 if you have the declaration of `basename', and to 0 if you
492db0c478Smatt    don't. */
502db0c478Smatt #define HAVE_DECL_BASENAME 0
512db0c478Smatt 
522db0c478Smatt /* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
532db0c478Smatt #define HAVE_DECL_FFS 1
542db0c478Smatt 
551c5a60bcSchristos /* Define to 1 if you have the declaration of `fopen64', and to 0 if you
561c5a60bcSchristos    don't. */
571c5a60bcSchristos #define HAVE_DECL_FOPEN64 0
582db0c478Smatt 
592db0c478Smatt /* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't.
602db0c478Smatt    */
612db0c478Smatt #define HAVE_DECL_FSEEKO 1
622db0c478Smatt 
632db0c478Smatt /* Define to 1 if you have the declaration of `fseeko64', and to 0 if you
642db0c478Smatt    don't. */
652db0c478Smatt #define HAVE_DECL_FSEEKO64 0
662db0c478Smatt 
672db0c478Smatt /* Define to 1 if you have the declaration of `ftello', and to 0 if you don't.
682db0c478Smatt    */
692db0c478Smatt #define HAVE_DECL_FTELLO 1
702db0c478Smatt 
712db0c478Smatt /* Define to 1 if you have the declaration of `ftello64', and to 0 if you
722db0c478Smatt    don't. */
732db0c478Smatt #define HAVE_DECL_FTELLO64 0
742db0c478Smatt 
752db0c478Smatt /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
762db0c478Smatt    */
772db0c478Smatt #define HAVE_DECL_STPCPY 1
782db0c478Smatt 
790260838fSchristos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
800260838fSchristos    don't. */
810260838fSchristos #define HAVE_DECL_STRNLEN 1
820260838fSchristos 
830260838fSchristos /* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
840260838fSchristos    don't. */
850260838fSchristos #define HAVE_DECL_VASPRINTF 1
860260838fSchristos 
87*8017598aSskrll /* Define to 1 if you have the declaration of `___lc_codepage_func', and to 0
88*8017598aSskrll    if you don't. */
89*8017598aSskrll #define HAVE_DECL____LC_CODEPAGE_FUNC 0
90*8017598aSskrll 
912db0c478Smatt /* Define to 1 if you have the <dlfcn.h> header file. */
922db0c478Smatt #define HAVE_DLFCN_H 1
932db0c478Smatt 
942db0c478Smatt /* Define to 1 if you have the `fcntl' function. */
952db0c478Smatt #define HAVE_FCNTL 1
962db0c478Smatt 
972db0c478Smatt /* Define to 1 if you have the <fcntl.h> header file. */
982db0c478Smatt #define HAVE_FCNTL_H 1
992db0c478Smatt 
1002db0c478Smatt /* Define to 1 if you have the `fdopen' function. */
1012db0c478Smatt #define HAVE_FDOPEN 1
1022db0c478Smatt 
1032db0c478Smatt /* Define to 1 if you have the `fileno' function. */
1042db0c478Smatt #define HAVE_FILENO 1
1052db0c478Smatt 
1061ddbc14eSchristos /* Define to 1 if you have the `fls' function. */
1071ddbc14eSchristos /* #undef HAVE_FLS */
1081ddbc14eSchristos 
1092db0c478Smatt /* Define to 1 if you have the `fopen64' function. */
1102db0c478Smatt /* #undef HAVE_FOPEN64 */
1112db0c478Smatt 
1122db0c478Smatt /* Define to 1 if you have the `fseeko' function. */
1132db0c478Smatt #define HAVE_FSEEKO 1
1142db0c478Smatt 
1152db0c478Smatt /* Define to 1 if you have the `fseeko64' function. */
1162db0c478Smatt /* #undef HAVE_FSEEKO64 */
1172db0c478Smatt 
1182db0c478Smatt /* Define to 1 if you have the `ftello' function. */
1192db0c478Smatt #define HAVE_FTELLO 1
1202db0c478Smatt 
1212db0c478Smatt /* Define to 1 if you have the `ftello64' function. */
1222db0c478Smatt /* #undef HAVE_FTELLO64 */
1232db0c478Smatt 
1242db0c478Smatt /* Define to 1 if you have the `getgid' function. */
1252db0c478Smatt #define HAVE_GETGID 1
1262db0c478Smatt 
1272db0c478Smatt /* Define to 1 if you have the `getpagesize' function. */
1282db0c478Smatt #define HAVE_GETPAGESIZE 1
1292db0c478Smatt 
1300260838fSchristos /* Define to 1 if you have the `getrlimit' function. */
1310260838fSchristos #define HAVE_GETRLIMIT 1
1320260838fSchristos 
133*8017598aSskrll /* Define if the GNU gettext() function is already present or preinstalled. */
134*8017598aSskrll /* #undef HAVE_GETTEXT */
135*8017598aSskrll 
1362db0c478Smatt /* Define to 1 if you have the `getuid' function. */
1372db0c478Smatt #define HAVE_GETUID 1
1382db0c478Smatt 
139b543e834Smrg /* Define if your compiler supports hidden visibility. */
140b543e834Smrg #define HAVE_HIDDEN 1
141b543e834Smrg 
142*8017598aSskrll /* Define if you have the iconv() function and it works. */
143*8017598aSskrll #define HAVE_ICONV 1
144*8017598aSskrll 
1452db0c478Smatt /* Define to 1 if you have the <inttypes.h> header file. */
1462db0c478Smatt #define HAVE_INTTYPES_H 1
1472db0c478Smatt 
1482db0c478Smatt /* Define if <sys/procfs.h> has lwpstatus_t. */
1492db0c478Smatt /* #undef HAVE_LWPSTATUS_T */
1502db0c478Smatt 
1512db0c478Smatt /* Define if <sys/procfs.h> has lwpstatus_t.pr_context. */
1522db0c478Smatt /* #undef HAVE_LWPSTATUS_T_PR_CONTEXT */
1532db0c478Smatt 
1542db0c478Smatt /* Define if <sys/procfs.h> has lwpstatus_t.pr_fpreg. */
1552db0c478Smatt /* #undef HAVE_LWPSTATUS_T_PR_FPREG */
1562db0c478Smatt 
1572db0c478Smatt /* Define if <sys/procfs.h> has lwpstatus_t.pr_reg. */
1582db0c478Smatt /* #undef HAVE_LWPSTATUS_T_PR_REG */
1592db0c478Smatt 
1602db0c478Smatt /* Define if <sys/procfs.h> has lwpxstatus_t. */
1612db0c478Smatt /* #undef HAVE_LWPXSTATUS_T */
1622db0c478Smatt 
1632db0c478Smatt /* Define to 1 if you have the `madvise' function. */
1642db0c478Smatt #define HAVE_MADVISE 1
1652db0c478Smatt 
1662db0c478Smatt /* Define to 1 if you have the <memory.h> header file. */
1672db0c478Smatt #define HAVE_MEMORY_H 1
1682db0c478Smatt 
1692db0c478Smatt /* Define to 1 if you have a working `mmap' system call. */
1702db0c478Smatt #define HAVE_MMAP 1
1712db0c478Smatt 
1722db0c478Smatt /* Define to 1 if you have the `mprotect' function. */
1732db0c478Smatt #define HAVE_MPROTECT 1
1742db0c478Smatt 
1752db0c478Smatt /* Define if <sys/procfs.h> has prpsinfo32_t. */
1762db0c478Smatt /* #undef HAVE_PRPSINFO32_T */
1772db0c478Smatt 
1782db0c478Smatt /* Define if <sys/procfs.h> has prpsinfo32_t.pr_pid. */
1792db0c478Smatt /* #undef HAVE_PRPSINFO32_T_PR_PID */
1802db0c478Smatt 
1812db0c478Smatt /* Define if <sys/procfs.h> has prpsinfo_t. */
1822db0c478Smatt /* #undef HAVE_PRPSINFO_T */
1832db0c478Smatt 
1842db0c478Smatt /* Define if <sys/procfs.h> has prpsinfo_t.pr_pid. */
1852db0c478Smatt /* #undef HAVE_PRPSINFO_T_PR_PID */
1862db0c478Smatt 
1872db0c478Smatt /* Define if <sys/procfs.h> has prstatus32_t. */
1882db0c478Smatt /* #undef HAVE_PRSTATUS32_T */
1892db0c478Smatt 
1902db0c478Smatt /* Define if <sys/procfs.h> has prstatus32_t.pr_who. */
1912db0c478Smatt /* #undef HAVE_PRSTATUS32_T_PR_WHO */
1922db0c478Smatt 
1932db0c478Smatt /* Define if <sys/procfs.h> has prstatus_t. */
1942db0c478Smatt /* #undef HAVE_PRSTATUS_T */
1952db0c478Smatt 
1962db0c478Smatt /* Define if <sys/procfs.h> has prstatus_t.pr_who. */
1972db0c478Smatt /* #undef HAVE_PRSTATUS_T_PR_WHO */
1982db0c478Smatt 
1992db0c478Smatt /* Define if <sys/procfs.h> has psinfo32_t. */
2002db0c478Smatt /* #undef HAVE_PSINFO32_T */
2012db0c478Smatt 
2022db0c478Smatt /* Define if <sys/procfs.h> has psinfo32_t.pr_pid. */
2032db0c478Smatt /* #undef HAVE_PSINFO32_T_PR_PID */
2042db0c478Smatt 
2052db0c478Smatt /* Define if <sys/procfs.h> has psinfo_t. */
2062db0c478Smatt /* #undef HAVE_PSINFO_T */
2072db0c478Smatt 
2082db0c478Smatt /* Define if <sys/procfs.h> has psinfo_t.pr_pid. */
2092db0c478Smatt /* #undef HAVE_PSINFO_T_PR_PID */
2102db0c478Smatt 
2112db0c478Smatt /* Define if <sys/procfs.h> has pstatus32_t. */
2122db0c478Smatt /* #undef HAVE_PSTATUS32_T */
2132db0c478Smatt 
2142db0c478Smatt /* Define if <sys/procfs.h> has pstatus_t. */
2152db0c478Smatt /* #undef HAVE_PSTATUS_T */
2162db0c478Smatt 
2172db0c478Smatt /* Define if <sys/procfs.h> has pxstatus_t. */
2182db0c478Smatt /* #undef HAVE_PXSTATUS_T */
2192db0c478Smatt 
2202db0c478Smatt /* Define to 1 if you have the <stdint.h> header file. */
2212db0c478Smatt #define HAVE_STDINT_H 1
2222db0c478Smatt 
2232db0c478Smatt /* Define to 1 if you have the <stdlib.h> header file. */
2242db0c478Smatt #define HAVE_STDLIB_H 1
2252db0c478Smatt 
2262db0c478Smatt /* Define to 1 if you have the <strings.h> header file. */
2272db0c478Smatt #define HAVE_STRINGS_H 1
2282db0c478Smatt 
2292db0c478Smatt /* Define to 1 if you have the <string.h> header file. */
2302db0c478Smatt #define HAVE_STRING_H 1
2312db0c478Smatt 
2322db0c478Smatt /* Define if struct core_dumpx has member c_impl */
2332db0c478Smatt /* #undef HAVE_ST_C_IMPL */
2342db0c478Smatt 
2352db0c478Smatt /* Define to 1 if you have the `sysconf' function. */
2362db0c478Smatt #define HAVE_SYSCONF 1
2372db0c478Smatt 
2382db0c478Smatt /* Define to 1 if you have the <sys/file.h> header file. */
2392db0c478Smatt #define HAVE_SYS_FILE_H 1
2402db0c478Smatt 
241b543e834Smrg /* Define to 1 if you have the <sys/param.h> header file. */
242b543e834Smrg #define HAVE_SYS_PARAM_H 1
243b543e834Smrg 
2442db0c478Smatt /* Define to 1 if you have the <sys/procfs.h> header file. */
2452db0c478Smatt /* #undef HAVE_SYS_PROCFS_H */
2462db0c478Smatt 
2470260838fSchristos /* Define to 1 if you have the <sys/resource.h> header file. */
2480260838fSchristos #define HAVE_SYS_RESOURCE_H 1
2490260838fSchristos 
2502db0c478Smatt /* Define to 1 if you have the <sys/stat.h> header file. */
2512db0c478Smatt #define HAVE_SYS_STAT_H 1
2522db0c478Smatt 
2532db0c478Smatt /* Define to 1 if you have the <sys/types.h> header file. */
2542db0c478Smatt #define HAVE_SYS_TYPES_H 1
2552db0c478Smatt 
2562db0c478Smatt /* Define to 1 if you have the <unistd.h> header file. */
2572db0c478Smatt #define HAVE_UNISTD_H 1
2582db0c478Smatt 
2592db0c478Smatt /* Define if <sys/procfs.h> has win32_pstatus_t. */
2602db0c478Smatt /* #undef HAVE_WIN32_PSTATUS_T */
2612db0c478Smatt 
2622db0c478Smatt /* Define to 1 if you have the <windows.h> header file. */
2632db0c478Smatt /* #undef HAVE_WINDOWS_H */
2642db0c478Smatt 
265*8017598aSskrll /* Define to 1 if zstd is enabled. */
266*8017598aSskrll /* #undef HAVE_ZSTD */
267*8017598aSskrll 
2682db0c478Smatt /* Define to the sub-directory in which libtool stores uninstalled libraries.
2692db0c478Smatt    */
2702db0c478Smatt #define LT_OBJDIR ".libs/"
2712db0c478Smatt 
2722db0c478Smatt /* Name of package */
2732db0c478Smatt #define PACKAGE "bfd"
2742db0c478Smatt 
2752db0c478Smatt /* Define to the address where bug reports for this package should be sent. */
2762db0c478Smatt #define PACKAGE_BUGREPORT ""
2772db0c478Smatt 
2782db0c478Smatt /* Define to the full name of this package. */
2790260838fSchristos #define PACKAGE_NAME "bfd"
2802db0c478Smatt 
2812db0c478Smatt /* Define to the full name and version of this package. */
282*8017598aSskrll #define PACKAGE_STRING "bfd 2.42"
2832db0c478Smatt 
2842db0c478Smatt /* Define to the one symbol short name of this package. */
2850260838fSchristos #define PACKAGE_TARNAME "bfd"
2862db0c478Smatt 
2872db0c478Smatt /* Define to the home page for this package. */
2882db0c478Smatt #define PACKAGE_URL ""
2892db0c478Smatt 
2902db0c478Smatt /* Define to the version of this package. */
291*8017598aSskrll #define PACKAGE_VERSION "2.42"
2922db0c478Smatt 
2932db0c478Smatt /* The size of `int', as computed by sizeof. */
2941ddbc14eSchristos #define SIZEOF_INT 4
2952db0c478Smatt 
2962db0c478Smatt /* The size of `long', as computed by sizeof. */
2972db0c478Smatt #define SIZEOF_LONG 8
2982db0c478Smatt 
2992db0c478Smatt /* The size of `long long', as computed by sizeof. */
3002db0c478Smatt #define SIZEOF_LONG_LONG 8
3012db0c478Smatt 
3022db0c478Smatt /* The size of `off_t', as computed by sizeof. */
3032db0c478Smatt #define SIZEOF_OFF_T 8
3042db0c478Smatt 
3052db0c478Smatt /* The size of `void *', as computed by sizeof. */
3062db0c478Smatt #define SIZEOF_VOID_P 8
3072db0c478Smatt 
3082db0c478Smatt /* Define to 1 if you have the ANSI C header files. */
3092db0c478Smatt #define STDC_HEADERS 1
3102db0c478Smatt 
311*8017598aSskrll /* If the compiler supports a TLS storage class, define it to that here */
312*8017598aSskrll #define TLS _Thread_local
313*8017598aSskrll 
3142db0c478Smatt /* Name of host specific header file to include in trad-core.c. */
3152db0c478Smatt /* #undef TRAD_HEADER */
3162db0c478Smatt 
317b543e834Smrg /* Define if 64-bit archives should always be used. */
318b543e834Smrg /* #undef USE_64_BIT_ARCHIVE */
319b543e834Smrg 
3202db0c478Smatt /* Use b modifier when opening binary files? */
3212db0c478Smatt /* #undef USE_BINARY_FOPEN */
3222db0c478Smatt 
3232db0c478Smatt /* Define if we should use leading underscore on 64 bit mingw targets */
3242db0c478Smatt /* #undef USE_MINGW64_LEADING_UNDERSCORES */
3252db0c478Smatt 
3262db0c478Smatt /* Use mmap if it's available? */
3272db0c478Smatt /* #undef USE_MMAP */
3282db0c478Smatt 
3292db0c478Smatt /* Define if we should default to creating read-only plt entries */
3301c5a60bcSchristos #define USE_SECUREPLT 1
3312db0c478Smatt 
3322db0c478Smatt /* Enable extensions on AIX 3, Interix.  */
3332db0c478Smatt #ifndef _ALL_SOURCE
3342db0c478Smatt # define _ALL_SOURCE 1
3352db0c478Smatt #endif
3362db0c478Smatt /* Enable GNU extensions on systems that have them.  */
3372db0c478Smatt #ifndef _GNU_SOURCE
3382db0c478Smatt # define _GNU_SOURCE 1
3392db0c478Smatt #endif
3402db0c478Smatt /* Enable threading extensions on Solaris.  */
3412db0c478Smatt #ifndef _POSIX_PTHREAD_SEMANTICS
3422db0c478Smatt # define _POSIX_PTHREAD_SEMANTICS 1
3432db0c478Smatt #endif
3442db0c478Smatt /* Enable extensions on HP NonStop.  */
3452db0c478Smatt #ifndef _TANDEM_SOURCE
3462db0c478Smatt # define _TANDEM_SOURCE 1
3472db0c478Smatt #endif
3482db0c478Smatt /* Enable general extensions on Solaris.  */
3492db0c478Smatt #ifndef __EXTENSIONS__
3502db0c478Smatt # define __EXTENSIONS__ 1
3512db0c478Smatt #endif
3522db0c478Smatt 
3532db0c478Smatt 
3542db0c478Smatt /* Version number of package */
355*8017598aSskrll #define VERSION "2.42"
356*8017598aSskrll 
357*8017598aSskrll /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
358*8017598aSskrll    significant byte first (like Motorola and SPARC, unlike Intel). */
359*8017598aSskrll #if defined AC_APPLE_UNIVERSAL_BUILD
360*8017598aSskrll # if defined __BIG_ENDIAN__
361*8017598aSskrll #  define WORDS_BIGENDIAN 1
362*8017598aSskrll # endif
363*8017598aSskrll #else
364*8017598aSskrll # ifndef WORDS_BIGENDIAN
365*8017598aSskrll /* #  undef WORDS_BIGENDIAN */
366*8017598aSskrll # endif
367*8017598aSskrll #endif
368b543e834Smrg 
369b543e834Smrg /* Enable large inode numbers on Mac OS X 10.5.  */
370b543e834Smrg #ifndef _DARWIN_USE_64_BIT_INODE
371b543e834Smrg # define _DARWIN_USE_64_BIT_INODE 1
372b543e834Smrg #endif
3732db0c478Smatt 
3742db0c478Smatt /* Number of bits in a file offset, on hosts where this is settable. */
3752db0c478Smatt /* #undef _FILE_OFFSET_BITS */
3762db0c478Smatt 
3772db0c478Smatt /* Define for large files, on AIX-style hosts. */
3782db0c478Smatt /* #undef _LARGE_FILES */
3792db0c478Smatt 
3802db0c478Smatt /* Define to 1 if on MINIX. */
3812db0c478Smatt /* #undef _MINIX */
3822db0c478Smatt 
3832db0c478Smatt /* Define to 2 if the system does not provide POSIX.1 features except with
3842db0c478Smatt    this defined. */
3852db0c478Smatt /* #undef _POSIX_1_SOURCE */
3862db0c478Smatt 
3872db0c478Smatt /* Define to 1 if you need to in order for `stat' and other things to work. */
3882db0c478Smatt /* #undef _POSIX_SOURCE */
3891c5a60bcSchristos 
3901c5a60bcSchristos /* Use structured /proc on Solaris. */
3911c5a60bcSchristos #define _STRUCTURED_PROC 1
392