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