elf: Handle non-directory name in search path (BZ 31035)
[glibc.git] / config.h.in
blob44a34072a47aa0082594036c97301c6804427fa4
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 /* On powerpc64, use @notoc. */
24 #undef USE_PPC64_NOTOC
26 /* On powerpc64, define if the compiler supports -mcpu=power10. */
27 #undef USE_PPC64_MCPU_POWER10
29 /* On powerpc*, define if scv should be used for syscalls (when available). */
30 #undef USE_PPC_SCV
32 /* Define if _Unwind_Find_FDE should be exported from glibc. */
33 #undef EXPORT_UNWIND_FIND_FDE
35 /* Define if static NSS modules are wanted. */
36 #undef DO_STATIC_NSS
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
43 /* Define if the compiler supports __builtin_memset. */
44 #undef HAVE_BUILTIN_MEMSET
46 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
47 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
49 /* Define if compiler accepts -fno-stack-protector in an
50 __attribute__ ((__optimize__)). */
51 #undef HAVE_CC_NO_STACK_PROTECTOR
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
59 /* Define if _rtld_local structure should be forced into .sdata section. */
60 #undef HAVE_SDATA_SECTION
62 /* Define if assembler supports z10 zarch instructions as default on S390. */
63 #undef HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
65 /* Define if assembler supports z196 zarch instructions as default on S390. */
66 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
68 /* Define if assembler supports z13 zarch instructions as default on S390. */
69 #undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
71 /* Define if assembler supports arch13 zarch instruction as default on S390. */
72 #undef HAVE_S390_MIN_ARCH13_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 arch13 instructions on S390. */
82 #undef HAVE_S390_ARCH13_ASM_SUPPORT
84 /* Define if the compiler\'s exception support is based on libunwind. */
85 #undef HAVE_CC_WITH_LIBUNWIND
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
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 /* AArch64 BTI support enabled. */
110 #define HAVE_AARCH64_BTI 0
112 /* AArch64 PAC-RET code generation is enabled. */
113 #define HAVE_AARCH64_PAC_RET 0
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
120 /* ARC big endian ABI */
121 #undef HAVE_ARC_BE
123 /* C-SKY ABI version. */
124 #undef CSKYABI
126 /* C-SKY floating-point instructions. */
127 #undef CSKY_HARD_FLOAT
129 /* C-SKY floating-point ABI. */
130 #undef CSKY_HARD_FLOAT_ABI
132 /* RISC-V integer ABI for ld.so. */
133 #undef RISCV_ABI_XLEN
135 /* RISC-V floating-point ABI for ld.so. */
136 #undef RISCV_ABI_FLEN
138 /* LOONGARCH integer ABI for ld.so. */
139 #undef LOONGARCH_ABI_GRLEN
141 /* LOONGARCH floating-point ABI for ld.so. */
142 #undef LOONGARCH_ABI_FRLEN
144 /* Linux specific: minimum supported kernel version. */
145 #undef __LINUX_KERNEL_VERSION
147 /* Linux specific: __LINUX_KERNEL_VERSION as a string. */
148 #undef __LINUX_KERNEL_VERSION_STR
150 /* Override abi-tags ABI version if necessary. */
151 #undef __ABI_TAG_VERSION
153 /* Mach specific: define if the `host_page_size' RPC is available. */
154 #undef HAVE_HOST_PAGE_SIZE
156 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
157 #undef HAVE_I386_IO_PERM_MODIFY
159 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
160 #undef HAVE_I386_SET_GDT
162 /* Define if inlined system calls are available. */
163 #undef HAVE_INLINED_SYSCALLS
165 /* Define if memory tagging support should be enabled. */
166 #undef USE_MTAG
168 /* Package description. */
169 #undef PKGVERSION
171 /* Bug reporting address. */
172 #undef REPORT_BUGS_TO
174 /* Define if multi-arch DSOs should be generated. */
175 #undef USE_MULTIARCH
177 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
178 #undef USE_STAP_PROBE
180 /* Define if library functions should try to contact the nscd daemon. */
181 #undef USE_NSCD
183 /* Define if the dynamic linker should consult an ld.so.cache file. */
184 #undef USE_LDCONFIG
186 /* Define to 1 if STT_GNU_IFUNC support actually works. */
187 #define HAVE_IFUNC 0
189 /* Define if gcc supports attribute ifunc. */
190 #undef HAVE_GCC_IFUNC
192 /* Define if CC supports attribute retain. */
193 #undef HAVE_GNU_RETAIN
195 /* Define to 1 if the assembler needs intermediate aliases to define
196 multiple symbol versions for one symbol. */
197 #define SYMVER_NEEDS_ALIAS 0
199 /* Define to 1 if libpthread actually resides in libc. */
200 #define PTHREAD_IN_LIBC 0
202 /* An integer used to scale the timeout of test programs. */
203 #define TIMEOUTFACTOR 1
206 \f */
208 #ifndef _LIBC
210 /* These symbols might be defined by some sysdeps configures.
211 They are used only in miscellaneous generator programs, not
212 in compiling libc itself. */
214 /* sysdeps/generic/configure.ac */
215 #undef HAVE_PSIGNAL
217 /* sysdeps/unix/configure.ac */
218 #undef HAVE_STRERROR
220 /* sysdeps/unix/common/configure.ac */
221 #undef HAVE_SYS_SIGLIST
222 #undef HAVE__SYS_SIGLIST
223 #undef HAVE__CTYPE_
224 #undef HAVE___CTYPE_
225 #undef HAVE___CTYPE
226 #undef HAVE__CTYPE__
227 #undef HAVE__CTYPE
228 #undef HAVE__LOCP
230 #endif
233 \f */
235 #ifdef _LIBC
237 /* The zic and zdump programs need these definitions. */
239 #define HAVE_STRERROR 1
241 /* The locale code needs these definitions. */
243 #define HAVE_REGEX 1
245 /* The ARM hard-float ABI is being used. */
246 #undef HAVE_ARM_PCS_VFP
248 /* The ARM movw/movt instructions using PC-relative relocs work right. */
249 #define ARM_PCREL_MOVW_OK 0
251 /* The pt_chown binary is being built and used by grantpt. */
252 #define HAVE_PT_CHOWN 0
254 /* Define if the compiler supports __builtin_trap without
255 any external dependencies such as making a function call. */
256 #define HAVE_BUILTIN_TRAP 0
258 /* ports/sysdeps/mips/configure.in */
259 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
260 #undef HAVE_MIPS_NAN2008
262 /* The PowerPC64 ELFv2 ABI is being used. */
263 #undef HAVE_ELFV2_ABI
265 /* PowerPC32 uses fcfid for integer to floating point conversions. */
266 #define HAVE_PPC_FCFID 0
268 /* PowerPC32 uses fctidz for floating point to long long conversions. */
269 #define HAVE_PPC_FCTIDZ 0
271 /* Define if PIE is unsupported. */
272 #undef PIE_UNSUPPORTED
274 /* Define if static PIE is supported. */
275 #undef SUPPORT_STATIC_PIE
277 /* Define if static PIE is enabled. */
278 #define ENABLE_STATIC_PIE 0
280 /* The default value of x86 CET control. */
281 #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
283 /* Define if x86 ISA level should be included in shared libraries. */
284 #undef INCLUDE_X86_ISA_LEVEL
286 /* Define if -msahf is enabled by default on x86. */
287 #undef HAVE_X86_LAHF_SAHF
289 /* Define if -mmovbe is enabled by default on x86. */
290 #undef HAVE_X86_MOVBE
292 #endif