]> git.ipfire.org Git - thirdparty/glibc.git/blob - config.h.in
Support for multiple versions in versioned_symbol, compat_symbol
[thirdparty/glibc.git] / config.h.in
1 /* Define if building with SELinux support. Set by --with-selinux. */
2 #undef HAVE_SELINUX
3
4 /* Defined if building with SELinux support & audit libs are detected. */
5 #undef HAVE_LIBAUDIT
6
7 /* Defined if building with SELinux support & libcap libs are detected. */
8 #undef HAVE_LIBCAP
9
10 /* Define to the assembler line separator character for multiple
11 assembler instructions per line. Default is `;' */
12 #undef ASM_LINE_SEP
13
14 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
15 #undef HAVE_SECTION_QUOTES
16
17 /* Define if the assembler supports the `.set' directive. */
18 #undef HAVE_ASM_SET_DIRECTIVE
19
20 /* On powerpc64, use overlapping .opd entries. */
21 #undef USE_PPC64_OVERLAPPING_OPD
22
23 /* On powerpc64, use @notoc. */
24 #undef USE_PPC64_NOTOC
25
26 /* Define if _Unwind_Find_FDE should be exported from glibc. */
27 #undef EXPORT_UNWIND_FIND_FDE
28
29 /* Define if static NSS modules are wanted. */
30 #undef DO_STATIC_NSS
31
32 /* Assume that the compiler supports __builtin_expect.
33 This macro is necessary for proper compilation of code
34 shared between GNU libc and GNU gettext projects. */
35 #define HAVE_BUILTIN_EXPECT 1
36
37 /* Define if the compiler supports __builtin_memset. */
38 #undef HAVE_BUILTIN_MEMSET
39
40 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
41 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
42
43 /* Define if compiler accepts -fno-stack-protector in an
44 __attribute__ ((__optimize__)). */
45 #undef HAVE_CC_NO_STACK_PROTECTOR
46
47 /* The level of stack protection in use for glibc as a whole.
48 May be overridden on a file-by-file basis. */
49 #ifndef STACK_PROTECTOR_LEVEL
50 #undef STACK_PROTECTOR_LEVEL
51 #endif
52
53 /* Define if the linker supports the -z combreloc option. */
54 #undef HAVE_Z_COMBRELOC
55
56 /* Define if _rtld_local structure should be forced into .sdata section. */
57 #undef HAVE_SDATA_SECTION
58
59 /* Define if compiler supports AVX512. */
60 #undef HAVE_AVX512_SUPPORT
61
62 /* Define if assembler supports AVX512DQ. */
63 #undef HAVE_AVX512DQ_ASM_SUPPORT
64
65 /* Define if assembler supports z10 zarch instructions as default on S390. */
66 #undef HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
67
68 /* Define if assembler supports z196 zarch instructions as default on S390. */
69 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
70
71 /* Define if assembler supports z13 zarch instructions as default on S390. */
72 #undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
73
74 /* Define if assembler supports arch13 zarch instruction as default on S390. */
75 #undef HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT
76
77 /* Define if assembler supports vector instructions on S390. */
78 #undef HAVE_S390_VX_ASM_SUPPORT
79
80 /* Define if gcc supports vector registers as clobbers in inline assembly
81 on S390. */
82 #undef HAVE_S390_VX_GCC_SUPPORT
83
84 /* Define if assembler supports arch13 instructions on S390. */
85 #undef HAVE_S390_ARCH13_ASM_SUPPORT
86
87 /* Define if assembler supports Intel MPX. */
88 #undef HAVE_MPX_SUPPORT
89
90 /* Define if the compiler\'s exception support is based on libunwind. */
91 #undef HAVE_CC_WITH_LIBUNWIND
92
93 /* Define if the access to static and hidden variables is position independent
94 and does not need relocations. */
95 #undef PI_STATIC_AND_HIDDEN
96
97 /* Define this to disable the 'hidden_proto' et al macros in
98 include/libc-symbols.h that avoid PLT slots in PIE. */
99 #undef NO_HIDDEN_EXTERN_FUNC_IN_PIE
100
101 /* Define this to disable the 'hidden_proto' et al macros in
102 include/libc-symbols.h that avoid PLT slots in the shared objects. */
103 #undef NO_HIDDEN
104
105 /* Define this to disable in rtld the 'hidden_proto' et al macros in
106 include/libc-symbols.h that avoid PLT slots in the shared objects. */
107 #undef NO_RTLD_HIDDEN
108
109 /* Define this to disable lazy relocations in DSOs. */
110 #undef BIND_NOW
111
112 /* AArch64 big endian ABI */
113 #undef HAVE_AARCH64_BE
114
115 /* AArch64 BTI support enabled. */
116 #define HAVE_AARCH64_BTI 0
117
118 /* AArch64 PAC-RET code generation is enabled. */
119 #define HAVE_AARCH64_PAC_RET 0
120
121 /* ARC big endian ABI */
122 #undef HAVE_ARC_BE
123
124 /* C-SKY ABI version. */
125 #undef CSKYABI
126
127 /* C-SKY floating-point ABI. */
128 #undef CSKY_HARD_FLOAT
129
130 /* RISC-V integer ABI for ld.so. */
131 #undef RISCV_ABI_XLEN
132
133 /* RISC-V floating-point ABI for ld.so. */
134 #undef RISCV_ABI_FLEN
135
136 /* Linux specific: minimum supported kernel version. */
137 #undef __LINUX_KERNEL_VERSION
138
139 /* Override abi-tags ABI version if necessary. */
140 #undef __ABI_TAG_VERSION
141
142 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
143 #undef HAVE_MIG_RETCODE
144
145 /* Mach specific: define if the `host_page_size' RPC is available. */
146 #undef HAVE_HOST_PAGE_SIZE
147
148 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
149 #undef HAVE_I386_IO_PERM_MODIFY
150
151 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
152 #undef HAVE_I386_SET_GDT
153
154 /* Define if inlined system calls are available. */
155 #undef HAVE_INLINED_SYSCALLS
156
157 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
158 #undef HAVE_PPC_SECURE_PLT
159
160 /* Define if __stack_chk_guard canary should be randomized at program startup. */
161 #undef ENABLE_STACKGUARD_RANDOMIZE
162
163 /* Define if memory tagging support should be enabled. */
164 #undef USE_MTAG
165
166 /* Package description. */
167 #undef PKGVERSION
168
169 /* Bug reporting address. */
170 #undef REPORT_BUGS_TO
171
172 /* Define if multi-arch DSOs should be generated. */
173 #undef USE_MULTIARCH
174
175 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
176 #undef USE_STAP_PROBE
177
178 /* Define if library functions should try to contact the nscd daemon. */
179 #undef USE_NSCD
180
181 /* Define if the dynamic linker should consult an ld.so.cache file. */
182 #undef USE_LDCONFIG
183
184 /* Define to 1 if STT_GNU_IFUNC support actually works. */
185 #define HAVE_IFUNC 0
186
187 /* Define if gcc supports attribute ifunc. */
188 #undef HAVE_GCC_IFUNC
189
190 /* Define if the linker defines __ehdr_start. */
191 #undef HAVE_EHDR_START
192
193 /* Define to 1 if the assembler needs intermediate aliases to define
194 multiple symbol versions for one symbol. */
195 #define SYMVER_NEEDS_ALIAS 0
196
197 /*
198 \f */
199
200 #ifndef _LIBC
201
202 /* These symbols might be defined by some sysdeps configures.
203 They are used only in miscellaneous generator programs, not
204 in compiling libc itself. */
205
206 /* sysdeps/generic/configure.ac */
207 #undef HAVE_PSIGNAL
208
209 /* sysdeps/unix/configure.ac */
210 #undef HAVE_STRERROR
211
212 /* sysdeps/unix/common/configure.ac */
213 #undef HAVE_SYS_SIGLIST
214 #undef HAVE__SYS_SIGLIST
215 #undef HAVE__CTYPE_
216 #undef HAVE___CTYPE_
217 #undef HAVE___CTYPE
218 #undef HAVE__CTYPE__
219 #undef HAVE__CTYPE
220 #undef HAVE__LOCP
221
222 #endif
223
224 /*
225 \f */
226
227 #ifdef _LIBC
228
229 /* The zic and zdump programs need these definitions. */
230
231 #define HAVE_STRERROR 1
232
233 /* The locale code needs these definitions. */
234
235 #define HAVE_REGEX 1
236
237 /* The ARM hard-float ABI is being used. */
238 #undef HAVE_ARM_PCS_VFP
239
240 /* The ARM movw/movt instructions using PC-relative relocs work right. */
241 #define ARM_PCREL_MOVW_OK 0
242
243 /* The pt_chown binary is being built and used by grantpt. */
244 #define HAVE_PT_CHOWN 0
245
246 /* Define if the compiler supports __builtin_trap without
247 any external dependencies such as making a function call. */
248 #define HAVE_BUILTIN_TRAP 0
249
250 /* ports/sysdeps/mips/configure.in */
251 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
252 #undef HAVE_MIPS_NAN2008
253
254 /* The PowerPC64 ELFv2 ABI is being used. */
255 #undef HAVE_ELFV2_ABI
256
257 /* PowerPC32 uses fcfid for integer to floating point conversions. */
258 #define HAVE_PPC_FCFID 0
259
260 /* PowerPC32 uses fctidz for floating point to long long conversions. */
261 #define HAVE_PPC_FCTIDZ 0
262
263 /* Build glibc with tunables support. */
264 #define HAVE_TUNABLES 0
265
266 /* Define if static PIE is supported. */
267 #undef SUPPORT_STATIC_PIE
268
269 /* Define if static PIE is enabled. */
270 #define ENABLE_STATIC_PIE 0
271
272 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
273 in i386 6 argument syscall issue). */
274 #define CAN_USE_REGISTER_ASM_EBP 0
275
276 /* The default value of x86 CET control. */
277 #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
278
279 /* Define if x86 ISA level should be included in shared libraries. */
280 #undef INCLUDE_X86_ISA_LEVEL
281
282 /* Define if -msahf is enabled by default on x86. */
283 #undef HAVE_X86_LAHF_SAHF
284
285 /* Define if -mmovbe is enabled by default on x86. */
286 #undef HAVE_X86_MOVBE
287
288 #endif