1 #if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__
2 # error "glibc cannot be compiled without optimization"
5 /* Another evil option when it comes to compiling the C library is
6 --ffast-math since it alters the ABI. */
7 #if defined __FAST_MATH__ && !defined TEST_FAST_MATH
8 # error "glibc must not be compiled with -ffast-math"
11 /* Define if using GNU ld, with support for weak symbols in a.out,
12 and for symbol set and warning messages extensions in a.out and ELF.
13 This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld. */
16 /* Define if using ELF, which supports weak symbols.
17 This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
21 /* Define if using XCOFF. Set by --with-xcoff. */
24 /* Define if C symbols are asm symbols. Don't define if C symbols
25 have a `_' prepended to make the asm symbol. */
28 /* Define if weak symbols are available via the `.weak' directive. */
29 #undef HAVE_ASM_WEAK_DIRECTIVE
31 /* Define if weak symbols are available via the `.weakext' directive. */
32 #undef HAVE_ASM_WEAKEXT_DIRECTIVE
34 /* Define if CFI directives are available. */
35 #undef HAVE_ASM_CFI_DIRECTIVES
37 /* Define to the assembler line separator character for multiple
38 assembler instructions per line. Default is `;' */
41 /* Define if not using ELF, but `.init' and `.fini' sections are available. */
44 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
45 #undef HAVE_SECTION_QUOTES
47 /* Define if using the GNU assembler, gas. */
50 /* Define if the assembler supports the `.set' directive. */
51 #undef HAVE_ASM_SET_DIRECTIVE
53 /* Define to the name of the assembler's directive for
54 declaring a symbol global (default `.globl'). */
55 #undef ASM_GLOBAL_DIRECTIVE
57 /* Define to the prefix before `object' or `function' in the
58 assembler's `.type' directive, if it has one. */
59 #undef ASM_TYPE_DIRECTIVE_PREFIX
61 /* Define a symbol_name as a global .symbol_name for ld. */
62 #undef HAVE_ASM_GLOBAL_DOT_NAME
64 /* On powerpc64, use overlapping .opd entries. */
65 #undef USE_PPC64_OVERLAPPING_OPD
67 /* Define if the assembler generates debugging information directly. */
68 #undef HAVE_CPP_ASM_DEBUGINFO
70 /* Define if _Unwind_Find_FDE should be exported from glibc. */
71 #undef EXPORT_UNWIND_FIND_FDE
73 /* Define to use GNU libio instead of GNU stdio.
74 This is defined by configure under --enable-libio. */
77 /* Define if using ELF and the assembler supports the `.previous'
79 #undef HAVE_ASM_PREVIOUS_DIRECTIVE
81 /* Define if using ELF and the assembler supports the `.popsection'
83 #undef HAVE_ASM_POPSECTION_DIRECTIVE
85 /* Define if versioning of the library is wanted. */
88 /* Defined to the oldest ABI we support, like 2.1. */
89 #undef GLIBC_OLDEST_ABI
91 /* Define if static NSS modules are wanted. */
94 /* Define if gcc uses DWARF2 unwind information for exception support. */
95 #undef HAVE_DWARF2_UNWIND_INFO
97 /* Define if gcc uses DWARF2 unwind information for exception support
98 with static variable. */
99 #undef HAVE_DWARF2_UNWIND_INFO_STATIC
101 /* Define if the compiler supports __builtin_expect. */
102 #undef HAVE_BUILTIN_EXPECT
104 /* Define if the compiler supports __builtin_memset. */
105 #undef HAVE_BUILTIN_MEMSET
107 /* Define if __asm () on built-in function's prototype causes redirection of
109 #undef HAVE_BUILTIN_REDIRECTION
111 /* Define if the __thread keyword is supported. */
114 /* Define if the compiler supports __attribute__((tls_model(""))). */
115 #undef HAVE_TLS_MODEL_ATTRIBUTE
117 /* Define if the regparm attribute shall be used for local functions
118 (gcc on ix86 only). */
121 /* Defined on PowerPC if the GCC being used has a problem with clobbering
122 certain registers (CR0, MQ, CTR, LR) in asm statements. */
123 #undef BROKEN_PPC_ASM_CR0
125 /* Defined on SPARC if ld doesn't handle R_SPARC_WDISP22 against .hidden
126 symbol. sysdeps/sparc/sparc32/elf/configure. */
127 #undef BROKEN_SPARC_WDISP22
129 /* Define if the linker supports the -z combreloc option. */
130 #undef HAVE_Z_COMBRELOC
132 /* Define if the assembler supported .protected. */
133 #undef HAVE_PROTECTED
135 /* Define if the assembler supported .hidden. */
138 /* Define if the compiler supports __attribute__ ((visibility (...))). */
139 #undef HAVE_VISIBILITY_ATTRIBUTE
141 /* Define if the compiler doesn't support __attribute__ ((visibility (...)))
142 together with __asm__ redirection properly. */
143 #undef HAVE_BROKEN_VISIBILITY_ATTRIBUTE
145 /* Define if the compiler doesn't support __attribute__ ((alias (...)))
146 together with __asm__ redirection properly. */
147 #undef HAVE_BROKEN_ALIAS_ATTRIBUTE
149 /* Define if _rtld_local structure should be forced into .sdata section. */
150 #undef HAVE_SDATA_SECTION
152 /* Define if binutils support TLS handling. */
153 #undef HAVE_TLS_SUPPORT
155 /* Define if the linker supports .preinit_array/.init_array/.fini_array
157 #undef HAVE_INITFINI_ARRAY
159 /* Define if the compiler's exception support is based on libunwind. */
160 #undef HAVE_CC_WITH_LIBUNWIND
162 /* Define if the access to static and hidden variables is position independent
163 and does not need relocations. */
164 #undef PI_STATIC_AND_HIDDEN
166 /* Define this to disable the `hidden_proto' et al macros in
167 include/libc-symbols.h that avoid PLT slots in the shared objects. */
171 /* Defined to some form of __attribute__ ((...)) if the compiler supports
172 a different, more efficient calling convention. */
173 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
174 # define internal_function __attribute__ ((regparm (3), stdcall))
177 /* Linux specific: minimum supported kernel version. */
178 #undef __LINUX_KERNEL_VERSION
180 /* Override abi-tags ABI version if necessary. */
181 #undef __ABI_TAG_VERSION
183 /* An extension in gcc 2.96 and up allows the subtraction of two
185 #undef HAVE_SUBTRACT_LOCAL_LABELS
187 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
188 getopt determine whether a parameter is a flag or not. This features
189 was disabled later since it caused trouble. We are by default therefore
190 disabling the support as well. */
191 #undef USE_NONOPTION_FLAGS
193 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
194 #undef HAVE_MIG_RETCODE
196 /* Mach specific: define if the `host_page_size' RPC is available. */
197 #undef HAVE_HOST_PAGE_SIZE
199 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
200 #undef HAVE_I386_IO_PERM_MODIFY
202 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
203 #undef HAVE_I386_SET_GDT
205 /* Defined if forced unwind support is available. */
206 #undef HAVE_FORCED_UNWIND
208 /* Defined if the linker supports the -z relro option. */
211 /* Defined of libidn is available. */
214 /* Define if inlined system calls are available. */
215 #undef HAVE_INLINED_SYSCALLS
222 /* These symbols might be defined by some sysdeps configures.
223 They are used only in miscellaneous generator programs, not
224 in compiling libc itself. */
226 /* sysdeps/generic/configure.in */
229 /* sysdeps/unix/configure.in */
232 /* sysdeps/unix/common/configure.in */
233 #undef HAVE_SYS_SIGLIST
234 #undef HAVE__SYS_SIGLIST
249 /* The zic and zdump programs need these definitions. */
251 #define HAVE_STRERROR 1
253 /* The locale code needs these definitions. */