regex: fix read overrun [BZ #24114]
[glibc.git] / config.h.in
blobf059ec04359b4368db4b11cfea8917c3111ed8b1
1 /* Define if building with SELinux support. Set by --with-selinux. */
2 #undef HAVE_SELINUX
4 /* Defined if building with SELinux support & audit libs are detected. */
5 #undef HAVE_LIBAUDIT
7 /* Defined if building with SELinux support & libcap libs are detected. */
8 #undef HAVE_LIBCAP
10 /* Define to the assembler line separator character for multiple
11 assembler instructions per line. Default is `;' */
12 #undef ASM_LINE_SEP
14 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
15 #undef HAVE_SECTION_QUOTES
17 /* Define if the assembler supports the `.set' directive. */
18 #undef HAVE_ASM_SET_DIRECTIVE
20 /* On powerpc64, use overlapping .opd entries. */
21 #undef USE_PPC64_OVERLAPPING_OPD
23 /* Define if _Unwind_Find_FDE should be exported from glibc. */
24 #undef EXPORT_UNWIND_FIND_FDE
26 /* Define if static NSS modules are wanted. */
27 #undef DO_STATIC_NSS
29 /* Assume that the compiler supports __builtin_expect.
30 This macro is necessary for proper compilation of code
31 shared between GNU libc and GNU gettext projects. */
32 #define HAVE_BUILTIN_EXPECT 1
34 /* Define if the compiler supports __builtin_memset. */
35 #undef HAVE_BUILTIN_MEMSET
37 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
38 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
40 /* Define if compiler accepts -fno-stack-protector in an
41 __attribute__ ((__optimize__)). */
42 #undef HAVE_CC_NO_STACK_PROTECTOR
44 /* The level of stack protection in use for glibc as a whole.
45 May be overridden on a file-by-file basis. */
46 #ifndef STACK_PROTECTOR_LEVEL
47 #undef STACK_PROTECTOR_LEVEL
48 #endif
50 /* Defined on SPARC if GCC emits GOTDATA relocations. */
51 #undef HAVE_GCC_GOTDATA
53 /* Define if the linker supports the -z combreloc option. */
54 #undef HAVE_Z_COMBRELOC
56 /* Define if _rtld_local structure should be forced into .sdata section. */
57 #undef HAVE_SDATA_SECTION
59 /* Define if compiler supports AVX512. */
60 #undef HAVE_AVX512_SUPPORT
62 /* Define if assembler supports AVX512DQ. */
63 #undef HAVE_AVX512DQ_ASM_SUPPORT
65 /* Define if assembler supports z10 zarch instructions as default on S390. */
66 #undef HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
68 /* Define if assembler supports z196 zarch instructions as default on S390. */
69 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
71 /* Define if assembler supports z13 zarch instructions as default on S390. */
72 #undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
74 /* Define if assembler supports vector instructions on S390. */
75 #undef HAVE_S390_VX_ASM_SUPPORT
77 /* Define if gcc supports vector registers as clobbers in inline assembly
78 on S390. */
79 #undef HAVE_S390_VX_GCC_SUPPORT
81 /* Define if assembler supports Intel MPX. */
82 #undef HAVE_MPX_SUPPORT
84 /* Define if the compiler\'s exception support is based on libunwind. */
85 #undef HAVE_CC_WITH_LIBUNWIND
87 /* Define if the access to static and hidden variables is position independent
88 and does not need relocations. */
89 #undef PI_STATIC_AND_HIDDEN
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
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
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
103 /* Define this to disable lazy relocations in DSOs. */
104 #undef BIND_NOW
106 /* AArch64 big endian ABI */
107 #undef HAVE_AARCH64_BE
109 /* C-SKY ABI version. */
110 #undef CSKYABI
112 /* C-SKY floating-point ABI. */
113 #undef CSKY_HARD_FLOAT
115 /* RISC-V integer ABI for ld.so. */
116 #undef RISCV_ABI_XLEN
118 /* RISC-V floating-point ABI for ld.so. */
119 #undef RISCV_ABI_FLEN
121 /* Linux specific: minimum supported kernel version. */
122 #undef __LINUX_KERNEL_VERSION
124 /* Override abi-tags ABI version if necessary. */
125 #undef __ABI_TAG_VERSION
127 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
128 #undef HAVE_MIG_RETCODE
130 /* Mach specific: define if the `host_page_size' RPC is available. */
131 #undef HAVE_HOST_PAGE_SIZE
133 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
134 #undef HAVE_I386_IO_PERM_MODIFY
136 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
137 #undef HAVE_I386_SET_GDT
139 /* Define if inlined system calls are available. */
140 #undef HAVE_INLINED_SYSCALLS
142 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
143 #undef HAVE_PPC_SECURE_PLT
145 /* Define if __stack_chk_guard canary should be randomized at program startup. */
146 #undef ENABLE_STACKGUARD_RANDOMIZE
148 /* Package description. */
149 #undef PKGVERSION
151 /* Bug reporting address. */
152 #undef REPORT_BUGS_TO
154 /* Define if multi-arch DSOs should be generated. */
155 #undef USE_MULTIARCH
157 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
158 #undef NO_CTORS_DTORS_SECTIONS
160 /* Define if obsolete RPC code should be made available for user-level code
161 to link against. */
162 #undef LINK_OBSOLETE_RPC
164 /* Define if obsolete libnsl code should be made available for user-level
165 code to link against. */
166 #undef LINK_OBSOLETE_NSL
168 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
169 #undef USE_STAP_PROBE
171 /* Define if library functions should try to contact the nscd daemon. */
172 #undef USE_NSCD
174 /* Define if the dynamic linker should consult an ld.so.cache file. */
175 #undef USE_LDCONFIG
177 /* Define to 1 if STT_GNU_IFUNC support actually works. */
178 #define HAVE_IFUNC 0
180 /* Define if gcc supports attribute ifunc. */
181 #undef HAVE_GCC_IFUNC
183 /* Define if the linker defines __ehdr_start. */
184 #undef HAVE_EHDR_START
187 \f */
189 #ifndef _LIBC
191 /* These symbols might be defined by some sysdeps configures.
192 They are used only in miscellaneous generator programs, not
193 in compiling libc itself. */
195 /* sysdeps/generic/configure.ac */
196 #undef HAVE_PSIGNAL
198 /* sysdeps/unix/configure.ac */
199 #undef HAVE_STRERROR
201 /* sysdeps/unix/common/configure.ac */
202 #undef HAVE_SYS_SIGLIST
203 #undef HAVE__SYS_SIGLIST
204 #undef HAVE__CTYPE_
205 #undef HAVE___CTYPE_
206 #undef HAVE___CTYPE
207 #undef HAVE__CTYPE__
208 #undef HAVE__CTYPE
209 #undef HAVE__LOCP
211 #endif
214 \f */
216 #ifdef _LIBC
218 /* The zic and zdump programs need these definitions. */
220 #define HAVE_STRERROR 1
222 /* The locale code needs these definitions. */
224 #define HAVE_REGEX 1
226 /* The ARM hard-float ABI is being used. */
227 #undef HAVE_ARM_PCS_VFP
229 /* The ARM movw/movt instructions using PC-relative relocs work right. */
230 #define ARM_PCREL_MOVW_OK 0
232 /* The pt_chown binary is being built and used by grantpt. */
233 #define HAVE_PT_CHOWN 0
235 /* Define if the compiler supports __builtin_trap without
236 any external dependencies such as making a function call. */
237 #define HAVE_BUILTIN_TRAP 0
239 /* ports/sysdeps/mips/configure.in */
240 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
241 #undef HAVE_MIPS_NAN2008
243 /* The PowerPC64 ELFv2 ABI is being used. */
244 #undef HAVE_ELFV2_ABI
246 /* PowerPC32 uses fcfid for integer to floating point conversions. */
247 #define HAVE_PPC_FCFID 0
249 /* PowerPC32 uses fctidz for floating point to long long conversions. */
250 #define HAVE_PPC_FCTIDZ 0
252 /* Build glibc with tunables support. */
253 #define HAVE_TUNABLES 0
255 /* Define if static PIE is enabled. */
256 #define ENABLE_STATIC_PIE 0
258 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
259 in i386 6 argument syscall issue). */
260 #define CAN_USE_REGISTER_ASM_EBP 0
262 #endif