* elf/check-textrel.c: Add missing argument.
[glibc.git] / config.h.in
blob147addddef66034646c18da6919d1d9ba61c2c0c
1 #if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__
2 # error "glibc cannot be compiled without optimization"
3 #endif
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"
9 #endif
11 /* Define if using ELF, which supports weak symbols.
12 This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
13 --with-elf. */
14 #undef HAVE_ELF
16 /* Define if building with SELinux support. Set by --with-selinux. */
17 #undef HAVE_SELINUX
19 /* Defined if building with SELinux support & audit libs are detected. */
20 #undef HAVE_LIBAUDIT
22 /* Define if using XCOFF. Set by --with-xcoff. */
23 #undef HAVE_XCOFF
25 /* Define if C symbols are asm symbols. Don't define if C symbols
26 have a `_' prepended to make the asm symbol. */
27 #undef NO_UNDERSCORES
29 /* Define if weak symbols are available via the `.weak' directive. */
30 #undef HAVE_ASM_WEAK_DIRECTIVE
32 /* Define if weak symbols are available via the `.weakext' directive. */
33 #undef HAVE_ASM_WEAKEXT_DIRECTIVE
35 /* Define if CFI directives are available. */
36 #undef HAVE_ASM_CFI_DIRECTIVES
38 /* Define to the assembler line separator character for multiple
39 assembler instructions per line. Default is `;' */
40 #undef ASM_LINE_SEP
42 /* Define if not using ELF, but `.init' and `.fini' sections are available. */
43 #undef HAVE_INITFINI
45 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
46 #undef HAVE_SECTION_QUOTES
48 /* Define if the assembler supports the `.set' directive. */
49 #undef HAVE_ASM_SET_DIRECTIVE
51 /* Define to the name of the assembler's directive for
52 declaring a symbol global (default `.globl'). */
53 #undef ASM_GLOBAL_DIRECTIVE
55 /* Define to the prefix before `object' or `function' in the
56 assembler's `.type' directive, if it has one. */
57 #undef ASM_TYPE_DIRECTIVE_PREFIX
59 /* Define a symbol_name as a global .symbol_name for ld. */
60 #undef HAVE_ASM_GLOBAL_DOT_NAME
62 /* On powerpc64, use overlapping .opd entries. */
63 #undef USE_PPC64_OVERLAPPING_OPD
65 /* Define if the assembler generates debugging information directly. */
66 #undef HAVE_CPP_ASM_DEBUGINFO
68 /* Define if _Unwind_Find_FDE should be exported from glibc. */
69 #undef EXPORT_UNWIND_FIND_FDE
71 /* Define to use GNU libio instead of GNU stdio.
72 This is defined by configure under --enable-libio. */
73 #undef USE_IN_LIBIO
75 /* Define if using ELF and the assembler supports the `.previous'
76 directive. */
77 #undef HAVE_ASM_PREVIOUS_DIRECTIVE
79 /* Define if using ELF and the assembler supports the `.popsection'
80 directive. */
81 #undef HAVE_ASM_POPSECTION_DIRECTIVE
83 /* Define if versioning of the library is wanted. */
84 #undef DO_VERSIONING
86 /* Defined to the oldest ABI we support, like 2.1. */
87 #undef GLIBC_OLDEST_ABI
89 /* Define if static NSS modules are wanted. */
90 #undef DO_STATIC_NSS
92 /* Define if gcc uses DWARF2 unwind information for exception support. */
93 #undef HAVE_DWARF2_UNWIND_INFO
95 /* Define if gcc uses DWARF2 unwind information for exception support
96 with static variable. */
97 #undef HAVE_DWARF2_UNWIND_INFO_STATIC
99 /* Define if the compiler supports __builtin_expect. */
100 #undef HAVE_BUILTIN_EXPECT
102 /* Define if the compiler supports __builtin_memset. */
103 #undef HAVE_BUILTIN_MEMSET
105 /* Define if __asm () on built-in function's prototype causes redirection of
106 the builtin. */
107 #undef HAVE_BUILTIN_REDIRECTION
109 /* Define if the __thread keyword is supported. */
110 #undef HAVE___THREAD
112 /* Define if the compiler supports __attribute__((tls_model(""))). */
113 #undef HAVE_TLS_MODEL_ATTRIBUTE
115 /* Define if the regparm attribute shall be used for local functions
116 (gcc on ix86 only). */
117 #undef USE_REGPARMS
119 /* Defined on PowerPC if the GCC being used has a problem with clobbering
120 certain registers (CR0, MQ, CTR, LR) in asm statements. */
121 #undef BROKEN_PPC_ASM_CR0
123 /* Defined on SPARC if ld doesn't handle R_SPARC_WDISP22 against .hidden
124 symbol. sysdeps/sparc/sparc32/elf/configure. */
125 #undef BROKEN_SPARC_WDISP22
127 /* Define if the linker supports the -z combreloc option. */
128 #undef HAVE_Z_COMBRELOC
130 /* Define if the assembler supported .protected. */
131 #undef HAVE_PROTECTED
133 /* Define if the assembler supported .hidden. */
134 #undef HAVE_HIDDEN
136 /* Define if the compiler supports __attribute__ ((visibility (...))). */
137 #undef HAVE_VISIBILITY_ATTRIBUTE
139 /* Define if the compiler doesn't support __attribute__ ((visibility (...)))
140 together with __asm__ redirection properly. */
141 #undef HAVE_BROKEN_VISIBILITY_ATTRIBUTE
143 /* Define if the compiler doesn't support __attribute__ ((alias (...)))
144 together with __asm__ redirection properly. */
145 #undef HAVE_BROKEN_ALIAS_ATTRIBUTE
147 /* Define if _rtld_local structure should be forced into .sdata section. */
148 #undef HAVE_SDATA_SECTION
150 /* Define if binutils support TLS handling. */
151 #undef HAVE_TLS_SUPPORT
153 /* Define if the compiler's exception support is based on libunwind. */
154 #undef HAVE_CC_WITH_LIBUNWIND
156 /* Define if the access to static and hidden variables is position independent
157 and does not need relocations. */
158 #undef PI_STATIC_AND_HIDDEN
160 /* Define this to disable the `hidden_proto' et al macros in
161 include/libc-symbols.h that avoid PLT slots in the shared objects. */
162 #undef NO_HIDDEN
165 /* Defined to some form of __attribute__ ((...)) if the compiler supports
166 a different, more efficient calling convention. */
167 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
168 # define internal_function __attribute__ ((regparm (3), stdcall))
169 #endif
171 /* Linux specific: minimum supported kernel version. */
172 #undef __LINUX_KERNEL_VERSION
174 /* Override abi-tags ABI version if necessary. */
175 #undef __ABI_TAG_VERSION
177 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
178 getopt determine whether a parameter is a flag or not. This features
179 was disabled later since it caused trouble. We are by default therefore
180 disabling the support as well. */
181 #undef USE_NONOPTION_FLAGS
183 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
184 #undef HAVE_MIG_RETCODE
186 /* Mach specific: define if the `host_page_size' RPC is available. */
187 #undef HAVE_HOST_PAGE_SIZE
189 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
190 #undef HAVE_I386_IO_PERM_MODIFY
192 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
193 #undef HAVE_I386_SET_GDT
195 /* Defined if forced unwind support is available. */
196 #undef HAVE_FORCED_UNWIND
198 /* Defined if the linker supports the -z relro option. */
199 #undef HAVE_Z_RELRO
201 /* Defined of libidn is available. */
202 #undef HAVE_LIBIDN
204 /* Define if inlined system calls are available. */
205 #undef HAVE_INLINED_SYSCALLS
207 /* Define if your assembler and linker support R_PPC_REL16* relocs. */
208 #undef HAVE_ASM_PPC_REL16
210 /* Define if __stack_chk_guard canary should be randomized at program startup. */
211 #undef ENABLE_STACKGUARD_RANDOMIZE
214 \f */
216 #ifndef _LIBC
218 /* These symbols might be defined by some sysdeps configures.
219 They are used only in miscellaneous generator programs, not
220 in compiling libc itself. */
222 /* sysdeps/generic/configure.in */
223 #undef HAVE_PSIGNAL
225 /* sysdeps/unix/configure.in */
226 #undef HAVE_STRERROR
228 /* sysdeps/unix/common/configure.in */
229 #undef HAVE_SYS_SIGLIST
230 #undef HAVE__SYS_SIGLIST
231 #undef HAVE__CTYPE_
232 #undef HAVE___CTYPE_
233 #undef HAVE___CTYPE
234 #undef HAVE__CTYPE__
235 #undef HAVE__CTYPE
236 #undef HAVE__LOCP
238 #endif
241 \f */
243 #ifdef _LIBC
245 /* The zic and zdump programs need these definitions. */
247 #define HAVE_STRERROR 1
249 /* The locale code needs these definitions. */
251 #define HAVE_REGEX 1
253 #endif