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