[PATCH 4/6] Split powerpc out of main Linux kernel-features.h.
[glibc.git] / config.h.in
blob97b5571a1703dc96fac60d56966290e046b869e2
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 if weak symbols are available via the `.weak' directive. */
22 #undef HAVE_ASM_WEAK_DIRECTIVE
24 /* Define if weak symbols are available via the `.weakext' directive. */
25 #undef HAVE_ASM_WEAKEXT_DIRECTIVE
27 /* Define to the assembler line separator character for multiple
28 assembler instructions per line. Default is `;' */
29 #undef ASM_LINE_SEP
31 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
32 #undef HAVE_SECTION_QUOTES
34 /* Define if the assembler supports the `.set' directive. */
35 #undef HAVE_ASM_SET_DIRECTIVE
37 /* Define if the assembler supports the gnu_unique_object symbol type. */
38 #undef HAVE_ASM_UNIQUE_OBJECT
40 /* Define a symbol_name as a global .symbol_name for ld. */
41 #undef HAVE_ASM_GLOBAL_DOT_NAME
43 /* On powerpc64, use overlapping .opd entries. */
44 #undef USE_PPC64_OVERLAPPING_OPD
46 /* Define if _Unwind_Find_FDE should be exported from glibc. */
47 #undef EXPORT_UNWIND_FIND_FDE
49 /* Define if using ELF and the assembler supports the `.previous'
50 directive. */
51 #undef HAVE_ASM_PREVIOUS_DIRECTIVE
53 /* Define if using ELF and the assembler supports the `.popsection'
54 directive. */
55 #undef HAVE_ASM_POPSECTION_DIRECTIVE
57 /* Defined to the oldest ABI we support, like 2.1. */
58 #undef GLIBC_OLDEST_ABI
60 /* Define if static NSS modules are wanted. */
61 #undef DO_STATIC_NSS
63 /* Define if the compiler supports __builtin_memset. */
64 #undef HAVE_BUILTIN_MEMSET
66 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
67 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
69 /* Define if the regparm attribute shall be used for local functions
70 (gcc on ix86 only). */
71 #undef USE_REGPARMS
73 /* Defined on SPARC if GCC emits GOTDATA relocations. */
74 #undef HAVE_GCC_GOTDATA
76 /* Define on SPARC if AS supports VIS3 instructions. */
77 #undef HAVE_AS_VIS3_SUPPORT
79 /* Define if the linker supports the -z combreloc option. */
80 #undef HAVE_Z_COMBRELOC
82 /* Define if _rtld_local structure should be forced into .sdata section. */
83 #undef HAVE_SDATA_SECTION
85 /* Define if gcc supports SSE4. */
86 #undef HAVE_SSE4_SUPPORT
88 /* Define if gcc supports AVX. */
89 #undef HAVE_AVX_SUPPORT
91 /* Define if gcc supports VEX encoding. */
92 #undef HAVE_SSE2AVX_SUPPORT
94 /* Define if compiler supports AVX512. */
95 #undef HAVE_AVX512_SUPPORT
97 /* Define if assembler supports AVX512. */
98 #undef HAVE_AVX512_ASM_SUPPORT
100 /* Define if assembler supports Intel MPX. */
101 #undef HAVE_MPX_SUPPORT
103 /* Define if gcc supports FMA4. */
104 #undef HAVE_FMA4_SUPPORT
106 /* Define if gcc supports AVX2. */
107 #undef HAVE_AVX2_SUPPORT
109 /* Define if the compiler\'s exception support is based on libunwind. */
110 #undef HAVE_CC_WITH_LIBUNWIND
112 /* Define if the access to static and hidden variables is position independent
113 and does not need relocations. */
114 #undef PI_STATIC_AND_HIDDEN
116 /* Define this to disable the 'hidden_proto' et al macros in
117 include/libc-symbols.h that avoid PLT slots in the shared objects. */
118 #undef NO_HIDDEN
121 /* Defined to some form of __attribute__ ((...)) if the compiler supports
122 a different, more efficient calling convention. */
123 #if defined USE_REGPARMS && !defined PROF
124 # define internal_function __attribute__ ((regparm (3), stdcall))
125 #endif
127 /* Linux specific: minimum supported kernel version. */
128 #undef __LINUX_KERNEL_VERSION
130 /* Override abi-tags ABI version if necessary. */
131 #undef __ABI_TAG_VERSION
133 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
134 getopt determine whether a parameter is a flag or not. This features
135 was disabled later since it caused trouble. We are by default therefore
136 disabling the support as well. */
137 #undef USE_NONOPTION_FLAGS
139 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
140 #undef HAVE_MIG_RETCODE
142 /* Mach specific: define if the `host_page_size' RPC is available. */
143 #undef HAVE_HOST_PAGE_SIZE
145 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
146 #undef HAVE_I386_IO_PERM_MODIFY
148 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
149 #undef HAVE_I386_SET_GDT
151 /* Defined if forced unwind support is available. */
152 #undef HAVE_FORCED_UNWIND
154 /* Defined of libidn is available. */
155 #undef HAVE_LIBIDN
157 /* Define if inlined system calls are available. */
158 #undef HAVE_INLINED_SYSCALLS
160 /* Define if your assembler and linker support R_PPC_REL16* relocs. */
161 #undef HAVE_ASM_PPC_REL16
163 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
164 #undef HAVE_PPC_SECURE_PLT
166 /* Define if __stack_chk_guard canary should be randomized at program startup. */
167 #undef ENABLE_STACKGUARD_RANDOMIZE
169 /* Define if lock elision should be enabled by default. */
170 #undef ENABLE_LOCK_ELISION
172 /* Package description. */
173 #undef PKGVERSION
175 /* Bug reporting address. */
176 #undef REPORT_BUGS_TO
178 /* Define if multi-arch DSOs should be generated. */
179 #undef USE_MULTIARCH
181 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
182 #undef NO_CTORS_DTORS_SECTIONS
184 /* Define if obsolete RPC code should be made available for user-level code
185 to link against. */
186 #undef LINK_OBSOLETE_RPC
188 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
189 #undef USE_STAP_PROBE
191 /* Define if library functions should try to contact the nscd daemon. */
192 #undef USE_NSCD
194 /* Define if the dynamic linker should consult an ld.so.cache file. */
195 #undef USE_LDCONFIG
197 /* Define if STT_GNU_IFUNC support actually works. */
198 #undef HAVE_IFUNC
200 /* Define if linux/fanotify.h is available. */
201 #undef HAVE_LINUX_FANOTIFY_H
203 /* Define if the linker defines __ehdr_start. */
204 #undef HAVE_EHDR_START
207 \f */
209 #ifndef _LIBC
211 /* These symbols might be defined by some sysdeps configures.
212 They are used only in miscellaneous generator programs, not
213 in compiling libc itself. */
215 /* sysdeps/generic/configure.ac */
216 #undef HAVE_PSIGNAL
218 /* sysdeps/unix/configure.ac */
219 #undef HAVE_STRERROR
221 /* sysdeps/unix/common/configure.ac */
222 #undef HAVE_SYS_SIGLIST
223 #undef HAVE__SYS_SIGLIST
224 #undef HAVE__CTYPE_
225 #undef HAVE___CTYPE_
226 #undef HAVE___CTYPE
227 #undef HAVE__CTYPE__
228 #undef HAVE__CTYPE
229 #undef HAVE__LOCP
231 #endif
234 \f */
236 #ifdef _LIBC
238 /* The zic and zdump programs need these definitions. */
240 #define HAVE_STRERROR 1
242 /* The locale code needs these definitions. */
244 #define HAVE_REGEX 1
246 /* The ARM hard-float ABI is being used. */
247 #undef HAVE_ARM_PCS_VFP
249 /* The pt_chown binary is being built and used by grantpt. */
250 #define HAVE_PT_CHOWN 0
252 /* ports/sysdeps/mips/configure.in */
253 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
254 #undef HAVE_MIPS_NAN2008
256 #endif