xref: /netbsd-src/external/gpl3/binutils/usr.bin/common/arch/riscv32/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  */
39ba37f97Smrg /* 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 
152db0c478Smatt /* Should ar and ranlib use -D behavior by default? */
162db0c478Smatt #define DEFAULT_AR_DETERMINISTIC 0
172db0c478Smatt 
18*8017598aSskrll /* Have objdump use colors in its disassembly by default */
19*8017598aSskrll #define DEFAULT_FOR_COLORED_DISASSEMBLY 0
20*8017598aSskrll 
211c5a60bcSchristos /* Have readelf and objdump follow debug links by default */
221c5a60bcSchristos #define DEFAULT_FOR_FOLLOW_LINKS 1
231c5a60bcSchristos 
241c5a60bcSchristos /* Have nm use F and f for global and local ifunc symbols */
251c5a60bcSchristos #define DEFAULT_F_FOR_IFUNC_SYMBOLS 0
261c5a60bcSchristos 
270260838fSchristos /* Should strings use -a behavior by default? */
280260838fSchristos #define DEFAULT_STRINGS_ALL 1
290260838fSchristos 
301c5a60bcSchristos /* Define if you want run-time sanity checks. */
311c5a60bcSchristos /* #undef ENABLE_CHECKING */
321c5a60bcSchristos 
331c5a60bcSchristos /* Handle .ctf type-info sections */
341c5a60bcSchristos #define ENABLE_LIBCTF 1
351c5a60bcSchristos 
362db0c478Smatt /* Define to 1 if translation of program messages to the user's native
372db0c478Smatt    language is requested. */
38*8017598aSskrll /* #undef ENABLE_NLS */
392db0c478Smatt 
402db0c478Smatt /* Suffix used for executables, if any. */
412db0c478Smatt #define EXECUTABLE_SUFFIX ""
422db0c478Smatt 
43*8017598aSskrll /* Define to 1 if you have the Mac OS X function
44*8017598aSskrll    CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */
45*8017598aSskrll /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */
46*8017598aSskrll 
47*8017598aSskrll /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
48*8017598aSskrll    the CoreFoundation framework. */
49*8017598aSskrll /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
50*8017598aSskrll 
51*8017598aSskrll /* Define if the GNU dcgettext() function is already present or preinstalled.
52*8017598aSskrll    */
53*8017598aSskrll /* #undef HAVE_DCGETTEXT */
54*8017598aSskrll 
559ba37f97Smrg /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
569ba37f97Smrg    don't. */
579ba37f97Smrg #define HAVE_DECL_ASPRINTF 1
589ba37f97Smrg 
592db0c478Smatt /* Define to 1 if you have the declaration of `environ', and to 0 if you
602db0c478Smatt    don't. */
612db0c478Smatt #define HAVE_DECL_ENVIRON 0
622db0c478Smatt 
632db0c478Smatt /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
642db0c478Smatt    don't. */
652db0c478Smatt #define HAVE_DECL_GETC_UNLOCKED 1
662db0c478Smatt 
672db0c478Smatt /* Is the prototype for getopt in <unistd.h> in the expected format? */
682db0c478Smatt #define HAVE_DECL_GETOPT 1
692db0c478Smatt 
702db0c478Smatt /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
712db0c478Smatt    */
722db0c478Smatt #define HAVE_DECL_STPCPY 1
732db0c478Smatt 
740260838fSchristos /* Define to 1 if you have the declaration of `strnlen', and to 0 if you
750260838fSchristos    don't. */
760260838fSchristos #define HAVE_DECL_STRNLEN 1
770260838fSchristos 
782db0c478Smatt /* Define to 1 if you have the <dlfcn.h> header file. */
792db0c478Smatt #define HAVE_DLFCN_H 1
802db0c478Smatt 
812db0c478Smatt /* Does the platform use an executable suffix? */
822db0c478Smatt /* #undef HAVE_EXECUTABLE_SUFFIX */
832db0c478Smatt 
842db0c478Smatt /* Define to 1 if you have the <fcntl.h> header file. */
852db0c478Smatt #define HAVE_FCNTL_H 1
862db0c478Smatt 
87*8017598aSskrll /* Define to 1 if you have the `fseeko' function. */
88*8017598aSskrll #define HAVE_FSEEKO 1
89*8017598aSskrll 
90*8017598aSskrll /* Define to 1 if you have the `fseeko64' function. */
91*8017598aSskrll /* #undef HAVE_FSEEKO64 */
92*8017598aSskrll 
932db0c478Smatt /* Define to 1 if you have the `getc_unlocked' function. */
942db0c478Smatt #define HAVE_GETC_UNLOCKED 1
952db0c478Smatt 
961ddbc14eSchristos /* Define to 1 if you have the `getpagesize' function. */
971ddbc14eSchristos #define HAVE_GETPAGESIZE 1
981ddbc14eSchristos 
99*8017598aSskrll /* Define if the GNU gettext() function is already present or preinstalled. */
100*8017598aSskrll /* #undef HAVE_GETTEXT */
101*8017598aSskrll 
1022db0c478Smatt /* Does <utime.h> define struct utimbuf? */
1032db0c478Smatt #define HAVE_GOOD_UTIME_H 1
1042db0c478Smatt 
105*8017598aSskrll /* Define if you have the iconv() function and it works. */
1062db0c478Smatt #define HAVE_ICONV 1
1072db0c478Smatt 
1082db0c478Smatt /* Define to 1 if you have the <inttypes.h> header file. */
1092db0c478Smatt #define HAVE_INTTYPES_H 1
1102db0c478Smatt 
1112db0c478Smatt /* Define if your <locale.h> file defines LC_MESSAGES. */
1122db0c478Smatt #define HAVE_LC_MESSAGES 1
1132db0c478Smatt 
1141ddbc14eSchristos /* Define to 1 if debuginfod is enabled. */
1151ddbc14eSchristos /* #undef HAVE_LIBDEBUGINFOD */
1161ddbc14eSchristos 
117*8017598aSskrll /* Define to 1 if debuginfod section downloading is supported. */
118*8017598aSskrll /* #undef HAVE_LIBDEBUGINFOD_FIND_SECTION */
119*8017598aSskrll 
1202db0c478Smatt /* Define if mbstate_t exists in wchar.h. */
1212db0c478Smatt #define HAVE_MBSTATE_T 1
1222db0c478Smatt 
1232db0c478Smatt /* Define to 1 if you have the <memory.h> header file. */
1242db0c478Smatt #define HAVE_MEMORY_H 1
1252db0c478Smatt 
1262db0c478Smatt /* Define to 1 if you have the `mkdtemp' function. */
1272db0c478Smatt #define HAVE_MKDTEMP 1
1282db0c478Smatt 
1292db0c478Smatt /* Define to 1 if you have the `mkstemp' function. */
1302db0c478Smatt #define HAVE_MKSTEMP 1
1312db0c478Smatt 
1321ddbc14eSchristos /* Define to 1 if you have a working `mmap' system call. */
1331ddbc14eSchristos #define HAVE_MMAP 1
1341ddbc14eSchristos 
1351c5a60bcSchristos /* Define to 1 if msgpack is available. */
1361c5a60bcSchristos /* #undef HAVE_MSGPACK */
1371c5a60bcSchristos 
1382db0c478Smatt /* Define to 1 if you have the <stdint.h> header file. */
1392db0c478Smatt #define HAVE_STDINT_H 1
1402db0c478Smatt 
1412db0c478Smatt /* Define to 1 if you have the <stdlib.h> header file. */
1422db0c478Smatt #define HAVE_STDLIB_H 1
1432db0c478Smatt 
1442db0c478Smatt /* Define to 1 if you have the <strings.h> header file. */
1452db0c478Smatt #define HAVE_STRINGS_H 1
1462db0c478Smatt 
1472db0c478Smatt /* Define to 1 if you have the <string.h> header file. */
1482db0c478Smatt #define HAVE_STRING_H 1
1492db0c478Smatt 
1501c5a60bcSchristos /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
1511c5a60bcSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
1521c5a60bcSchristos 
1531c5a60bcSchristos /* Define to 1 if `st_atimespec.tv_nsec' is a member of `struct stat'. */
1541c5a60bcSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC */
1551c5a60bcSchristos 
1561c5a60bcSchristos /* Define to 1 if `st_atim.st__tim.tv_nsec' is a member of `struct stat'. */
1571c5a60bcSchristos /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */
1581c5a60bcSchristos 
1591c5a60bcSchristos /* Define to 1 if `st_atim.tv_nsec' is a member of `struct stat'. */
1601c5a60bcSchristos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
1611c5a60bcSchristos 
1622db0c478Smatt /* Define to 1 if you have the <sys/file.h> header file. */
1632db0c478Smatt #define HAVE_SYS_FILE_H 1
1642db0c478Smatt 
1652db0c478Smatt /* Define to 1 if you have the <sys/param.h> header file. */
1662db0c478Smatt #define HAVE_SYS_PARAM_H 1
1672db0c478Smatt 
1682db0c478Smatt /* Define to 1 if you have the <sys/stat.h> header file. */
1692db0c478Smatt #define HAVE_SYS_STAT_H 1
1702db0c478Smatt 
1711c5a60bcSchristos /* Define to 1 if you have the <sys/time.h> header file. */
1721c5a60bcSchristos #define HAVE_SYS_TIME_H 1
1731c5a60bcSchristos 
1742db0c478Smatt /* Define to 1 if you have the <sys/types.h> header file. */
1752db0c478Smatt #define HAVE_SYS_TYPES_H 1
1762db0c478Smatt 
1772db0c478Smatt /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
1782db0c478Smatt #define HAVE_SYS_WAIT_H 1
1792db0c478Smatt 
1802db0c478Smatt /* Define to 1 if you have the <unistd.h> header file. */
1812db0c478Smatt #define HAVE_UNISTD_H 1
1822db0c478Smatt 
1831c5a60bcSchristos /* Define to 1 if you have the `utimensat' function. */
1841c5a60bcSchristos #define HAVE_UTIMENSAT 1
1851c5a60bcSchristos 
1862db0c478Smatt /* Define to 1 if you have the `utimes' function. */
1872db0c478Smatt #define HAVE_UTIMES 1
1882db0c478Smatt 
1890260838fSchristos /* Define to 1 if you have the <windows.h> header file. */
1900260838fSchristos /* #undef HAVE_WINDOWS_H */
1912db0c478Smatt 
192*8017598aSskrll /* Define to 1 if zstd is enabled. */
193*8017598aSskrll /* #undef HAVE_ZSTD */
194*8017598aSskrll 
1952db0c478Smatt /* Define as const if the declaration of iconv() needs const. */
19677a1ad5fSkamil #define ICONV_CONST
1972db0c478Smatt 
1982db0c478Smatt /* Define to the sub-directory in which libtool stores uninstalled libraries.
1992db0c478Smatt    */
2002db0c478Smatt #define LT_OBJDIR ".libs/"
2012db0c478Smatt 
2022db0c478Smatt /* Name of package */
2032db0c478Smatt #define PACKAGE "binutils"
2042db0c478Smatt 
2052db0c478Smatt /* Define to the address where bug reports for this package should be sent. */
2062db0c478Smatt #define PACKAGE_BUGREPORT ""
2072db0c478Smatt 
2082db0c478Smatt /* Define to the full name of this package. */
2090260838fSchristos #define PACKAGE_NAME "binutils"
2102db0c478Smatt 
2112db0c478Smatt /* Define to the full name and version of this package. */
212*8017598aSskrll #define PACKAGE_STRING "binutils 2.42"
2132db0c478Smatt 
2142db0c478Smatt /* Define to the one symbol short name of this package. */
2150260838fSchristos #define PACKAGE_TARNAME "binutils"
2162db0c478Smatt 
2172db0c478Smatt /* Define to the home page for this package. */
2182db0c478Smatt #define PACKAGE_URL ""
2192db0c478Smatt 
2202db0c478Smatt /* Define to the version of this package. */
221*8017598aSskrll #define PACKAGE_VERSION "2.42"
2222db0c478Smatt 
2232db0c478Smatt /* Define to 1 if you have the ANSI C header files. */
2242db0c478Smatt #define STDC_HEADERS 1
2252db0c478Smatt 
2262db0c478Smatt /* Configured target name. */
2279ba37f97Smrg #define TARGET "riscv32--netbsd"
2282db0c478Smatt 
2292db0c478Smatt /* Define to 1 if user symbol names have a leading underscore, 0 if not. */
2302db0c478Smatt #define TARGET_PREPENDS_UNDERSCORE 0
2312db0c478Smatt 
2321c5a60bcSchristos /* Define to 1 if the type of the st_atim member of a struct stat is struct
2331c5a60bcSchristos    timespec. */
2341c5a60bcSchristos #define TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC 1
2351c5a60bcSchristos 
2362db0c478Smatt /* Use b modifier when opening binary files? */
2372db0c478Smatt /* #undef USE_BINARY_FOPEN */
2382db0c478Smatt 
2392db0c478Smatt /* Enable extensions on AIX 3, Interix.  */
2402db0c478Smatt #ifndef _ALL_SOURCE
2412db0c478Smatt # define _ALL_SOURCE 1
2422db0c478Smatt #endif
2432db0c478Smatt /* Enable GNU extensions on systems that have them.  */
2442db0c478Smatt #ifndef _GNU_SOURCE
2452db0c478Smatt # define _GNU_SOURCE 1
2462db0c478Smatt #endif
2472db0c478Smatt /* Enable threading extensions on Solaris.  */
2482db0c478Smatt #ifndef _POSIX_PTHREAD_SEMANTICS
2492db0c478Smatt # define _POSIX_PTHREAD_SEMANTICS 1
2502db0c478Smatt #endif
2512db0c478Smatt /* Enable extensions on HP NonStop.  */
2522db0c478Smatt #ifndef _TANDEM_SOURCE
2532db0c478Smatt # define _TANDEM_SOURCE 1
2542db0c478Smatt #endif
2552db0c478Smatt /* Enable general extensions on Solaris.  */
2562db0c478Smatt #ifndef __EXTENSIONS__
2572db0c478Smatt # define __EXTENSIONS__ 1
2582db0c478Smatt #endif
2592db0c478Smatt 
2602db0c478Smatt 
2612db0c478Smatt /* Version number of package */
262*8017598aSskrll #define VERSION "2.42"
2632db0c478Smatt 
2642db0c478Smatt /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
2652db0c478Smatt    `char[]'. */
2662db0c478Smatt #define YYTEXT_POINTER 1
2672db0c478Smatt 
2689ba37f97Smrg /* Enable large inode numbers on Mac OS X 10.5.  */
2699ba37f97Smrg #ifndef _DARWIN_USE_64_BIT_INODE
2709ba37f97Smrg # define _DARWIN_USE_64_BIT_INODE 1
2719ba37f97Smrg #endif
2729ba37f97Smrg 
2732db0c478Smatt /* Number of bits in a file offset, on hosts where this is settable. */
2742db0c478Smatt /* #undef _FILE_OFFSET_BITS */
2752db0c478Smatt 
2762db0c478Smatt /* Define for large files, on AIX-style hosts. */
2772db0c478Smatt /* #undef _LARGE_FILES */
2782db0c478Smatt 
2792db0c478Smatt /* Define to 1 if on MINIX. */
2802db0c478Smatt /* #undef _MINIX */
2812db0c478Smatt 
2822db0c478Smatt /* Define to 2 if the system does not provide POSIX.1 features except with
2832db0c478Smatt    this defined. */
2842db0c478Smatt /* #undef _POSIX_1_SOURCE */
2852db0c478Smatt 
2862db0c478Smatt /* Define to 1 if you need to in order for `stat' and other things to work. */
2872db0c478Smatt /* #undef _POSIX_SOURCE */
288