]> git.ipfire.org Git - thirdparty/glibc.git/blob - config.h.in
x86: In ld.so, diagnose missing APX support in APX-only builds
[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 /* On powerpc64, define if the compiler supports -mcpu=power10. */
27 #undef USE_PPC64_MCPU_POWER10
28
29 /* On powerpc*, define if scv should be used for syscalls (when available). */
30 #undef USE_PPC_SCV
31
32 /* Define if _Unwind_Find_FDE should be exported from glibc. */
33 #undef EXPORT_UNWIND_FIND_FDE
34
35 /* Define if static NSS modules are wanted. */
36 #undef DO_STATIC_NSS
37
38 /* Assume that the compiler supports __builtin_expect.
39 This macro is necessary for proper compilation of code
40 shared between GNU libc and GNU gettext projects. */
41 #define HAVE_BUILTIN_EXPECT 1
42
43 /* Define if the compiler supports __builtin_memset. */
44 #undef HAVE_BUILTIN_MEMSET
45
46 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
47 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
48
49 /* Define if compiler accepts -fno-stack-protector in an
50 __attribute__ ((__optimize__)). */
51 #undef HAVE_CC_NO_STACK_PROTECTOR
52
53 /* The level of stack protection in use for glibc as a whole.
54 May be overridden on a file-by-file basis. */
55 #ifndef STACK_PROTECTOR_LEVEL
56 #undef STACK_PROTECTOR_LEVEL
57 #endif
58
59 /* Define if _rtld_local structure should be forced into .sdata section. */
60 #undef HAVE_SDATA_SECTION
61
62 /* Define if assembler supports z10 zarch instructions as default on S390. */
63 #undef HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
64
65 /* Define if assembler supports z196 zarch instructions as default on S390. */
66 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
67
68 /* Define if assembler supports z13 zarch instructions as default on S390. */
69 #undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
70
71 /* Define if assembler supports arch13 zarch instruction as default on S390. */
72 #undef HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT
73
74 /* Define if assembler supports vector instructions on S390. */
75 #undef HAVE_S390_VX_ASM_SUPPORT
76
77 /* Define if gcc supports vector registers as clobbers in inline assembly
78 on S390. */
79 #undef HAVE_S390_VX_GCC_SUPPORT
80
81 /* Define if assembler supports arch13 instructions on S390. */
82 #undef HAVE_S390_ARCH13_ASM_SUPPORT
83
84 /* Define if the compiler\'s exception support is based on libunwind. */
85 #undef HAVE_CC_WITH_LIBUNWIND
86
87 /* Define if the accesses to static and hidden variables in a shared object
88 need dynamic relocations. */
89 #undef HIDDEN_VAR_NEEDS_DYNAMIC_RELOC
90
91 /* Define this to disable the 'hidden_proto' et al macros in
92 include/libc-symbols.h that avoid PLT slots in PIE. */
93 #undef NO_HIDDEN_EXTERN_FUNC_IN_PIE
94
95 /* Define this to disable the 'hidden_proto' et al macros in
96 include/libc-symbols.h that avoid PLT slots in the shared objects. */
97 #undef NO_HIDDEN
98
99 /* Define this to disable in rtld the 'hidden_proto' et al macros in
100 include/libc-symbols.h that avoid PLT slots in the shared objects. */
101 #undef NO_RTLD_HIDDEN
102
103 /* Define this to disable lazy relocations in DSOs. */
104 #undef BIND_NOW
105
106 /* AArch64 big endian ABI */
107 #undef HAVE_AARCH64_BE
108
109 /* AArch64 BTI support enabled. */
110 #define HAVE_AARCH64_BTI 0
111
112 /* AArch64 PAC-RET code generation is enabled. */
113 #define HAVE_AARCH64_PAC_RET 0
114
115 /* Assembler support ARMv8.2-A SVE.
116 This macro becomes obsolete when glibc increased the minimum
117 required version of GNU 'binutils' to 2.28 or later. */
118 #define HAVE_AARCH64_SVE_ASM 0
119
120 /* ARC big endian ABI */
121 #undef HAVE_ARC_BE
122
123 /* C-SKY ABI version. */
124 #undef CSKYABI
125
126 /* C-SKY floating-point instructions. */
127 #undef CSKY_HARD_FLOAT
128
129 /* C-SKY floating-point ABI. */
130 #undef CSKY_HARD_FLOAT_ABI
131
132 /* RISC-V integer ABI for ld.so. */
133 #undef RISCV_ABI_XLEN
134
135 /* RISC-V floating-point ABI for ld.so. */
136 #undef RISCV_ABI_FLEN
137
138 /* LOONGARCH integer ABI for ld.so. */
139 #undef LOONGARCH_ABI_GRLEN
140
141 /* LOONGARCH floating-point ABI for ld.so. */
142 #undef LOONGARCH_ABI_FRLEN
143
144 /* Define whether ARM used hard-float and support VFPvX-D32. */
145 #undef HAVE_ARM_PCS_VFP_D32
146
147 /* Linux specific: minimum supported kernel version. */
148 #undef __LINUX_KERNEL_VERSION
149
150 /* Linux specific: __LINUX_KERNEL_VERSION as a string. */
151 #undef __LINUX_KERNEL_VERSION_STR
152
153 /* Override abi-tags ABI version if necessary. */
154 #undef __ABI_TAG_VERSION
155
156 /* Mach specific: define if the `host_page_size' RPC is available. */
157 #undef HAVE_HOST_PAGE_SIZE
158
159 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
160 #undef HAVE_I386_IO_PERM_MODIFY
161
162 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
163 #undef HAVE_I386_SET_GDT
164
165 /* Hurd specific; define if the `proc_getchildren_rusage' RPC is available. */
166 #undef HAVE_HURD_PROC_GETCHILDREN_RUSAGE
167
168 /* Define if inlined system calls are available. */
169 #undef HAVE_INLINED_SYSCALLS
170
171 /* Define if memory tagging support should be enabled. */
172 #undef USE_MTAG
173
174 /* Package description. */
175 #undef PKGVERSION
176
177 /* Bug reporting address. */
178 #undef REPORT_BUGS_TO
179
180 /* Define if multi-arch DSOs should be generated. */
181 #undef USE_MULTIARCH
182
183 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
184 #undef USE_STAP_PROBE
185
186 /* Define if library functions should try to contact the nscd daemon. */
187 #undef USE_NSCD
188
189 /* Define if the dynamic linker should consult an ld.so.cache file. */
190 #undef USE_LDCONFIG
191
192 /* Define to 1 if STT_GNU_IFUNC support actually works. */
193 #define HAVE_IFUNC 0
194
195 /* Define if gcc supports attribute ifunc. */
196 #undef HAVE_GCC_IFUNC
197
198 /* Define if CC supports attribute retain. */
199 #undef HAVE_GNU_RETAIN
200
201 /* Define to 1 if the assembler needs intermediate aliases to define
202 multiple symbol versions for one symbol. */
203 #define SYMVER_NEEDS_ALIAS 0
204
205 /* Define to 1 if libpthread actually resides in libc. */
206 #define PTHREAD_IN_LIBC 0
207
208 /* An integer used to scale the timeout of test programs. */
209 #define TIMEOUTFACTOR 1
210
211 /*
212 \f */
213
214 #ifndef _LIBC
215
216 /* These symbols might be defined by some sysdeps configures.
217 They are used only in miscellaneous generator programs, not
218 in compiling libc itself. */
219
220 /* sysdeps/generic/configure.ac */
221 #undef HAVE_PSIGNAL
222
223 /* sysdeps/unix/configure.ac */
224 #undef HAVE_STRERROR
225
226 /* sysdeps/unix/common/configure.ac */
227 #undef HAVE_SYS_SIGLIST
228 #undef HAVE__SYS_SIGLIST
229 #undef HAVE__CTYPE_
230 #undef HAVE___CTYPE_
231 #undef HAVE___CTYPE
232 #undef HAVE__CTYPE__
233 #undef HAVE__CTYPE
234 #undef HAVE__LOCP
235
236 #endif
237
238 /*
239 \f */
240
241 #ifdef _LIBC
242
243 /* The zic and zdump programs need these definitions. */
244
245 #define HAVE_STRERROR 1
246
247 /* The locale code needs these definitions. */
248
249 #define HAVE_REGEX 1
250
251 /* The ARM hard-float ABI is being used. */
252 #undef HAVE_ARM_PCS_VFP
253
254 /* The ARM movw/movt instructions using PC-relative relocs work right. */
255 #define ARM_PCREL_MOVW_OK 0
256
257 /* The pt_chown binary is being built and used by grantpt. */
258 #define HAVE_PT_CHOWN 0
259
260 /* Define if the compiler supports __builtin_trap without
261 any external dependencies such as making a function call. */
262 #define HAVE_BUILTIN_TRAP 0
263
264 /* ports/sysdeps/mips/configure.in */
265 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
266 #undef HAVE_MIPS_NAN2008
267
268 /* The PowerPC64 ELFv2 ABI is being used. */
269 #undef HAVE_ELFV2_ABI
270
271 /* PowerPC32 uses fcfid for integer to floating point conversions. */
272 #define HAVE_PPC_FCFID 0
273
274 /* PowerPC32 uses fctidz for floating point to long long conversions. */
275 #define HAVE_PPC_FCTIDZ 0
276
277 /* Define if PIE is unsupported. */
278 #undef PIE_UNSUPPORTED
279
280 /* Define if static PIE is supported. */
281 #undef SUPPORT_STATIC_PIE
282
283 /* Define if static PIE is enabled. */
284 #define ENABLE_STATIC_PIE 0
285
286 /* The default value of x86 CET control. */
287 #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
288
289 /* Define if x86 ISA level should be included in shared libraries. */
290 #undef INCLUDE_X86_ISA_LEVEL
291
292 /* Define if -msahf is enabled by default on x86. */
293 #undef HAVE_X86_LAHF_SAHF
294
295 /* Define if -mmovbe is enabled by default on x86. */
296 #undef HAVE_X86_MOVBE
297
298 #endif