S390: Move utf8-utf32-z9.c to multiarch folder and use s390_libc_ifunc_expr macro.
[glibc.git] / config.h.in
blob2caa412575a9042da04364b83e40909d266bec7d
1 #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \
2 && !defined __OPTIMIZE__
3 # error "glibc cannot be compiled without optimization"
4 #endif
6 /* Another evil option when it comes to compiling the C library is
7 --ffast-math since it alters the ABI. */
8 #if defined __FAST_MATH__ && !defined TEST_FAST_MATH
9 # error "glibc must not be compiled with -ffast-math"
10 #endif
12 /* Define if building with SELinux support. Set by --with-selinux. */
13 #undef HAVE_SELINUX
15 /* Defined if building with SELinux support & audit libs are detected. */
16 #undef HAVE_LIBAUDIT
18 /* Defined if building with SELinux support & libcap libs are detected. */
19 #undef HAVE_LIBCAP
21 /* Define to the assembler line separator character for multiple
22 assembler instructions per line. Default is `;' */
23 #undef ASM_LINE_SEP
25 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
26 #undef HAVE_SECTION_QUOTES
28 /* Define if the assembler supports the `.set' directive. */
29 #undef HAVE_ASM_SET_DIRECTIVE
31 /* On powerpc64, use overlapping .opd entries. */
32 #undef USE_PPC64_OVERLAPPING_OPD
34 /* Define if _Unwind_Find_FDE should be exported from glibc. */
35 #undef EXPORT_UNWIND_FIND_FDE
37 /* Define if static NSS modules are wanted. */
38 #undef DO_STATIC_NSS
40 /* Assume that the compiler supports __builtin_expect.
41 This macro is necessary for proper compilation of code
42 shared between GNU libc and GNU gettext projects. */
43 #define HAVE_BUILTIN_EXPECT 1
45 /* Define if the compiler supports __builtin_memset. */
46 #undef HAVE_BUILTIN_MEMSET
48 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
49 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
51 /* Define if compiler accepts -fno-stack-protector in an
52 __attribute__ ((__optimize__)). */
53 #undef HAVE_CC_NO_STACK_PROTECTOR
55 /* The level of stack protection in use for glibc as a whole.
56 May be overridden on a file-by-file basis. */
57 #ifndef STACK_PROTECTOR_LEVEL
58 #undef STACK_PROTECTOR_LEVEL
59 #endif
61 /* Define if the regparm attribute shall be used for local functions
62 (gcc on ix86 only). */
63 #undef USE_REGPARMS
65 /* Defined on SPARC if GCC emits GOTDATA relocations. */
66 #undef HAVE_GCC_GOTDATA
68 /* Define on SPARC if AS supports VIS3 instructions. */
69 #undef HAVE_AS_VIS3_SUPPORT
71 /* Define if the linker supports the -z combreloc option. */
72 #undef HAVE_Z_COMBRELOC
74 /* Define if _rtld_local structure should be forced into .sdata section. */
75 #undef HAVE_SDATA_SECTION
77 /* Define if compiler supports AVX512. */
78 #undef HAVE_AVX512_SUPPORT
80 /* Define if assembler supports AVX512DQ. */
81 #undef HAVE_AVX512DQ_ASM_SUPPORT
83 /* Define if assembler supports z196 zarch instructions as default on S390. */
84 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
86 /* Define if assembler supports vector instructions on S390. */
87 #undef HAVE_S390_VX_ASM_SUPPORT
89 /* Define if gcc supports vector registers as clobbers in inline assembly
90 on S390. */
91 #undef HAVE_S390_VX_GCC_SUPPORT
93 /* Define if assembler supports Intel MPX. */
94 #undef HAVE_MPX_SUPPORT
96 /* Define if the compiler\'s exception support is based on libunwind. */
97 #undef HAVE_CC_WITH_LIBUNWIND
99 /* Define if the access to static and hidden variables is position independent
100 and does not need relocations. */
101 #undef PI_STATIC_AND_HIDDEN
103 /* Define this to disable the 'hidden_proto' et al macros in
104 include/libc-symbols.h that avoid PLT slots in the shared objects. */
105 #undef NO_HIDDEN
107 /* Define this to disable lazy relocations in DSOs. */
108 #undef BIND_NOW
110 /* AArch64 big endian ABI */
111 #undef HAVE_AARCH64_BE
114 /* Defined to some form of __attribute__ ((...)) if the compiler supports
115 a different, more efficient calling convention. */
116 #if defined USE_REGPARMS && !defined PROF
117 # define internal_function __attribute__ ((regparm (3), stdcall))
118 #endif
120 /* Linux specific: minimum supported kernel version. */
121 #undef __LINUX_KERNEL_VERSION
123 /* Override abi-tags ABI version if necessary. */
124 #undef __ABI_TAG_VERSION
126 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
127 #undef HAVE_MIG_RETCODE
129 /* Mach specific: define if the `host_page_size' RPC is available. */
130 #undef HAVE_HOST_PAGE_SIZE
132 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
133 #undef HAVE_I386_IO_PERM_MODIFY
135 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
136 #undef HAVE_I386_SET_GDT
138 /* Defined of libidn is available. */
139 #undef HAVE_LIBIDN
141 /* Define if inlined system calls are available. */
142 #undef HAVE_INLINED_SYSCALLS
144 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
145 #undef HAVE_PPC_SECURE_PLT
147 /* Define if __stack_chk_guard canary should be randomized at program startup. */
148 #undef ENABLE_STACKGUARD_RANDOMIZE
150 /* Define if lock elision should be enabled by default. */
151 #undef ENABLE_LOCK_ELISION
153 /* Package description. */
154 #undef PKGVERSION
156 /* Bug reporting address. */
157 #undef REPORT_BUGS_TO
159 /* Define if multi-arch DSOs should be generated. */
160 #undef USE_MULTIARCH
162 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
163 #undef NO_CTORS_DTORS_SECTIONS
165 /* Define if obsolete RPC code should be made available for user-level code
166 to link against. */
167 #undef LINK_OBSOLETE_RPC
169 /* Define if obsolete libnsl code should be made available for user-level
170 code to link against. */
171 #undef LINK_OBSOLETE_NSL
173 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
174 #undef USE_STAP_PROBE
176 /* Define if library functions should try to contact the nscd daemon. */
177 #undef USE_NSCD
179 /* Define if the dynamic linker should consult an ld.so.cache file. */
180 #undef USE_LDCONFIG
182 /* Define to 1 if STT_GNU_IFUNC support actually works. */
183 #define HAVE_IFUNC 0
185 /* Define if gcc supports attribute ifunc. */
186 #undef HAVE_GCC_IFUNC
188 /* Define if the linker defines __ehdr_start. */
189 #undef HAVE_EHDR_START
192 \f */
194 #ifndef _LIBC
196 /* These symbols might be defined by some sysdeps configures.
197 They are used only in miscellaneous generator programs, not
198 in compiling libc itself. */
200 /* sysdeps/generic/configure.ac */
201 #undef HAVE_PSIGNAL
203 /* sysdeps/unix/configure.ac */
204 #undef HAVE_STRERROR
206 /* sysdeps/unix/common/configure.ac */
207 #undef HAVE_SYS_SIGLIST
208 #undef HAVE__SYS_SIGLIST
209 #undef HAVE__CTYPE_
210 #undef HAVE___CTYPE_
211 #undef HAVE___CTYPE
212 #undef HAVE__CTYPE__
213 #undef HAVE__CTYPE
214 #undef HAVE__LOCP
216 #endif
219 \f */
221 #ifdef _LIBC
223 /* The zic and zdump programs need these definitions. */
225 #define HAVE_STRERROR 1
227 /* The locale code needs these definitions. */
229 #define HAVE_REGEX 1
231 /* The ARM hard-float ABI is being used. */
232 #undef HAVE_ARM_PCS_VFP
234 /* The ARM movw/movt instructions using PC-relative relocs work right. */
235 #define ARM_PCREL_MOVW_OK 0
237 /* The pt_chown binary is being built and used by grantpt. */
238 #define HAVE_PT_CHOWN 0
240 /* Define if the compiler supports __builtin_trap without
241 any external dependencies such as making a function call. */
242 #define HAVE_BUILTIN_TRAP 0
244 /* ports/sysdeps/mips/configure.in */
245 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
246 #undef HAVE_MIPS_NAN2008
248 /* The PowerPC64 ELFv2 ABI is being used. */
249 #undef HAVE_ELFV2_ABI
251 /* PowerPC32 uses fcfid for integer to floating point conversions. */
252 #define HAVE_PPC_FCFID 0
254 /* PowerPC32 uses fctidz for floating point to long long conversions. */
255 #define HAVE_PPC_FCTIDZ 0
257 /* Build glibc with tunables support. */
258 #define HAVE_TUNABLES 0
260 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
261 in i386 6 argument syscall issue). */
262 #define CAN_USE_REGISTER_ASM_EBP 0
264 #endif