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