tunables: Use direct syscall for access (BZ#21744)
[glibc.git] / config.h.in
blob22418576a014b19661edff6c6ee1117dd3e3d34b
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 /* Define if the regparm attribute shall be used for local functions
51 (gcc on ix86 only). */
52 #undef USE_REGPARMS
54 /* Defined on SPARC if GCC emits GOTDATA relocations. */
55 #undef HAVE_GCC_GOTDATA
57 /* Define on SPARC if AS supports VIS3 instructions. */
58 #undef HAVE_AS_VIS3_SUPPORT
60 /* Define if the linker supports the -z combreloc option. */
61 #undef HAVE_Z_COMBRELOC
63 /* Define if _rtld_local structure should be forced into .sdata section. */
64 #undef HAVE_SDATA_SECTION
66 /* Define if compiler supports AVX512. */
67 #undef HAVE_AVX512_SUPPORT
69 /* Define if assembler supports AVX512DQ. */
70 #undef HAVE_AVX512DQ_ASM_SUPPORT
72 /* Define if assembler supports z196 zarch instructions as default on S390. */
73 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
75 /* Define if assembler supports vector instructions on S390. */
76 #undef HAVE_S390_VX_ASM_SUPPORT
78 /* Define if gcc supports vector registers as clobbers in inline assembly
79 on S390. */
80 #undef HAVE_S390_VX_GCC_SUPPORT
82 /* Define if assembler supports Intel MPX. */
83 #undef HAVE_MPX_SUPPORT
85 /* Define if the compiler\'s exception support is based on libunwind. */
86 #undef HAVE_CC_WITH_LIBUNWIND
88 /* Define if the access to static and hidden variables is position independent
89 and does not need relocations. */
90 #undef PI_STATIC_AND_HIDDEN
92 /* Define this to disable the 'hidden_proto' et al macros in
93 include/libc-symbols.h that avoid PLT slots in the shared objects. */
94 #undef NO_HIDDEN
96 /* Define this to disable lazy relocations in DSOs. */
97 #undef BIND_NOW
99 /* AArch64 big endian ABI */
100 #undef HAVE_AARCH64_BE
103 /* Defined to some form of __attribute__ ((...)) if the compiler supports
104 a different, more efficient calling convention. */
105 #if defined USE_REGPARMS && !defined PROF
106 # define internal_function __attribute__ ((regparm (3), stdcall))
107 #endif
109 /* Linux specific: minimum supported kernel version. */
110 #undef __LINUX_KERNEL_VERSION
112 /* Override abi-tags ABI version if necessary. */
113 #undef __ABI_TAG_VERSION
115 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
116 #undef HAVE_MIG_RETCODE
118 /* Mach specific: define if the `host_page_size' RPC is available. */
119 #undef HAVE_HOST_PAGE_SIZE
121 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
122 #undef HAVE_I386_IO_PERM_MODIFY
124 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
125 #undef HAVE_I386_SET_GDT
127 /* Defined of libidn is available. */
128 #undef HAVE_LIBIDN
130 /* Define if inlined system calls are available. */
131 #undef HAVE_INLINED_SYSCALLS
133 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
134 #undef HAVE_PPC_SECURE_PLT
136 /* Define if __stack_chk_guard canary should be randomized at program startup. */
137 #undef ENABLE_STACKGUARD_RANDOMIZE
139 /* Define if lock elision should be enabled by default. */
140 #undef ENABLE_LOCK_ELISION
142 /* Package description. */
143 #undef PKGVERSION
145 /* Bug reporting address. */
146 #undef REPORT_BUGS_TO
148 /* Define if multi-arch DSOs should be generated. */
149 #undef USE_MULTIARCH
151 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
152 #undef NO_CTORS_DTORS_SECTIONS
154 /* Define if obsolete RPC code should be made available for user-level code
155 to link against. */
156 #undef LINK_OBSOLETE_RPC
158 /* Define if obsolete libnsl code should be made available for user-level
159 code to link against. */
160 #undef LINK_OBSOLETE_NSL
162 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
163 #undef USE_STAP_PROBE
165 /* Define if library functions should try to contact the nscd daemon. */
166 #undef USE_NSCD
168 /* Define if the dynamic linker should consult an ld.so.cache file. */
169 #undef USE_LDCONFIG
171 /* Define to 1 if STT_GNU_IFUNC support actually works. */
172 #define HAVE_IFUNC 0
174 /* Define if gcc supports attribute ifunc. */
175 #undef HAVE_GCC_IFUNC
177 /* Define if the linker defines __ehdr_start. */
178 #undef HAVE_EHDR_START
181 \f */
183 #ifndef _LIBC
185 /* These symbols might be defined by some sysdeps configures.
186 They are used only in miscellaneous generator programs, not
187 in compiling libc itself. */
189 /* sysdeps/generic/configure.ac */
190 #undef HAVE_PSIGNAL
192 /* sysdeps/unix/configure.ac */
193 #undef HAVE_STRERROR
195 /* sysdeps/unix/common/configure.ac */
196 #undef HAVE_SYS_SIGLIST
197 #undef HAVE__SYS_SIGLIST
198 #undef HAVE__CTYPE_
199 #undef HAVE___CTYPE_
200 #undef HAVE___CTYPE
201 #undef HAVE__CTYPE__
202 #undef HAVE__CTYPE
203 #undef HAVE__LOCP
205 #endif
208 \f */
210 #ifdef _LIBC
212 /* The zic and zdump programs need these definitions. */
214 #define HAVE_STRERROR 1
216 /* The locale code needs these definitions. */
218 #define HAVE_REGEX 1
220 /* The ARM hard-float ABI is being used. */
221 #undef HAVE_ARM_PCS_VFP
223 /* The ARM movw/movt instructions using PC-relative relocs work right. */
224 #define ARM_PCREL_MOVW_OK 0
226 /* The pt_chown binary is being built and used by grantpt. */
227 #define HAVE_PT_CHOWN 0
229 /* Define if the compiler supports __builtin_trap without
230 any external dependencies such as making a function call. */
231 #define HAVE_BUILTIN_TRAP 0
233 /* ports/sysdeps/mips/configure.in */
234 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
235 #undef HAVE_MIPS_NAN2008
237 /* The PowerPC64 ELFv2 ABI is being used. */
238 #undef HAVE_ELFV2_ABI
240 /* PowerPC32 uses fcfid for integer to floating point conversions. */
241 #define HAVE_PPC_FCFID 0
243 /* PowerPC32 uses fctidz for floating point to long long conversions. */
244 #define HAVE_PPC_FCTIDZ 0
246 /* Build glibc with tunables support. */
247 #define HAVE_TUNABLES 0
249 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
250 in i386 6 argument syscall issue). */
251 #define CAN_USE_REGISTER_ASM_EBP 0
253 #endif