xref: /netbsd-src/external/gpl3/binutils/usr.bin/ld/arch/sparc/config.h (revision 801f73adf8029e41ec107911c58034bb925796a2)
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 
51a51c498Smrg /* config.h.  Generated from config.in by configure.  */
6f51ed01fSchristos /* config.in.  Generated from configure.ac by autoheader.  */
731580a89Sskrll 
85dc4313eSmrg /* Check that config.h is #included before system headers
95dc4313eSmrg    (this works only for glibc, but that should be enough).  */
105dc4313eSmrg #if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
115dc4313eSmrg #  error config.h must be #included before system headers
125dc4313eSmrg #endif
135dc4313eSmrg #define __CONFIG_H__ 1
145dc4313eSmrg 
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 
357d7dbc98Schristos /* Define to 0 if you want to disable the generation of an executable stack
367d7dbc98Schristos    when a .note-GNU-stack section is missing. */
3752d4d320Schristos #define DEFAULT_LD_EXECSTACK 0
387d7dbc98Schristos 
397d7dbc98Schristos /* The default method for DT_TEXTREL check in ELF linker. */
407d7dbc98Schristos #define DEFAULT_LD_TEXTREL_CHECK textrel_check_none
417d7dbc98Schristos 
427d7dbc98Schristos /* Define to 1 if DT_TEXTREL check is warning in ELF linker by default. */
437d7dbc98Schristos #define DEFAULT_LD_TEXTREL_CHECK_WARNING 0
447d7dbc98Schristos 
457d7dbc98Schristos /* Define to 1 if you want to enable --warn-execstack in ELF linker by
467d7dbc98Schristos    default. */
477d7dbc98Schristos #define DEFAULT_LD_WARN_EXECSTACK 2
487d7dbc98Schristos 
497d7dbc98Schristos /* Define to 0 if you want to disable --warn-rwx-segments in ELF linker by
507d7dbc98Schristos    default. */
517d7dbc98Schristos #define DEFAULT_LD_WARN_RWX_SEGMENTS 0
527d7dbc98Schristos 
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 
57b1a05e35Schristos /* Define to 1 if you want to enable -z relro in ELF linker by default. */
58b1a05e35Schristos #define DEFAULT_LD_Z_RELRO 0
59b1a05e35Schristos 
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 
687d7dbc98Schristos /* Define if you want run-time sanity checks. */
697d7dbc98Schristos /* #undef ENABLE_CHECKING */
707d7dbc98Schristos 
717d7dbc98Schristos /* Handle .ctf type-info sections */
727d7dbc98Schristos #define ENABLE_LIBCTF 1
737d7dbc98Schristos 
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 
921a51c498Smrg /* Define to 1 if you have the `close' function. */
931a51c498Smrg #define HAVE_CLOSE 1
941a51c498Smrg 
95*801f73adSchristos /* Define if the GNU dcgettext() function is already present or preinstalled.
96*801f73adSchristos    */
97*801f73adSchristos /* #undef HAVE_DCGETTEXT */
98*801f73adSchristos 
997d7dbc98Schristos /* Define to 1 if you have the declaration of `asprintf', and to 0 if you
1007d7dbc98Schristos    don't. */
1017d7dbc98Schristos #define HAVE_DECL_ASPRINTF 1
1027d7dbc98Schristos 
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 
1201a51c498Smrg /* Define to 1 if you have the <fcntl.h> header file. */
1211a51c498Smrg #define HAVE_FCNTL_H 1
1221a51c498Smrg 
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 
1355dc4313eSmrg /* Define .init_array/.fini_array sections are available and working. */
136c4608cd2Smrg #define HAVE_INITFINI_ARRAY 1
1375dc4313eSmrg 
13831580a89Sskrll /* Define to 1 if you have the <inttypes.h> header file. */
13931580a89Sskrll #define HAVE_INTTYPES_H 1
14031580a89Sskrll 
1417d7dbc98Schristos /* The jansson library is to be used */
1427d7dbc98Schristos /* #undef HAVE_JANSSON */
1437d7dbc98Schristos 
1445dc4313eSmrg /* Define if your <locale.h> file defines LC_MESSAGES. */
1455dc4313eSmrg #define HAVE_LC_MESSAGES 1
1465dc4313eSmrg 
14731580a89Sskrll /* Define to 1 if you have the <limits.h> header file. */
14831580a89Sskrll #define HAVE_LIMITS_H 1
14931580a89Sskrll 
1501a51c498Smrg /* Define to 1 if you have the `lseek' function. */
1511a51c498Smrg #define HAVE_LSEEK 1
1521a51c498Smrg 
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 
1621a51c498Smrg /* Define to 1 if you have the `open' function. */
1631a51c498Smrg #define HAVE_OPEN 1
1641a51c498Smrg 
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 
1801a51c498Smrg /* Define to 1 if you have the <sys/file.h> header file. */
1811a51c498Smrg #define HAVE_SYS_FILE_H 1
1821a51c498Smrg 
1837d7dbc98Schristos /* Define to 1 if you have the <sys/mman.h> header file. */
1847d7dbc98Schristos #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 
1921a51c498Smrg /* Define to 1 if you have the <sys/time.h> header file. */
1931a51c498Smrg #define HAVE_SYS_TIME_H 1
1941a51c498Smrg 
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 
2045dc4313eSmrg /* Define to 1 if you have the <windows.h> header file. */
2051a51c498Smrg /* #undef HAVE_WINDOWS_H */
2061a51c498Smrg 
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 
2291a51c498Smrg /* Define to the home page for this package. */
2301a51c498Smrg #define PACKAGE_URL ""
2311a51c498Smrg 
23231580a89Sskrll /* Define to the version of this package. */
233*801f73adSchristos #define PACKAGE_VERSION "2.42"
23431580a89Sskrll 
2355dc4313eSmrg /* The size of `void *', as computed by sizeof. */
2365dc4313eSmrg #define SIZEOF_VOID_P 4
23731580a89Sskrll 
23831580a89Sskrll /* Define to 1 if you have the ANSI C header files. */
23931580a89Sskrll #define STDC_HEADERS 1
24031580a89Sskrll 
2417d7dbc98Schristos /* Define to 1 if you want to support the --error-handling-script command line
2427d7dbc98Schristos    option. */
2437d7dbc98Schristos #define SUPPORT_ERROR_HANDLING_SCRIPT 1
2445dc4313eSmrg 
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 
2691a51c498Smrg 
2701a51c498Smrg /* Version number of package */
271*801f73adSchristos #define VERSION "2.42"
2721a51c498Smrg 
2731a51c498Smrg /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
2741a51c498Smrg    `char[]'. */
2751a51c498Smrg #define YYTEXT_POINTER 1
2761a51c498Smrg 
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 
2821a51c498Smrg /* Number of bits in a file offset, on hosts where this is settable. */
2831a51c498Smrg /* #undef _FILE_OFFSET_BITS */
2841a51c498Smrg 
2851a51c498Smrg /* Define for large files, on AIX-style hosts. */
2861a51c498Smrg /* #undef _LARGE_FILES */
2871a51c498Smrg 
2881a51c498Smrg /* Define to 1 if on MINIX. */
2891a51c498Smrg /* #undef _MINIX */
2901a51c498Smrg 
2911a51c498Smrg /* Define to 2 if the system does not provide POSIX.1 features except with
2921a51c498Smrg    this defined. */
2931a51c498Smrg /* #undef _POSIX_1_SOURCE */
2941a51c498Smrg 
2951a51c498Smrg /* Define to 1 if you need to in order for `stat' and other things to work. */
2961a51c498Smrg /* #undef _POSIX_SOURCE */
297