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