]>
Commit | Line | Data |
---|---|---|
78ce5a3b | 1 | #if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__ |
d322efa8 UD |
2 | # error "glibc cannot be compiled without optimization" |
3 | #endif | |
4 | ||
8a989129 UD |
5 | /* Another evil option when it comes to compiling the C library is |
6 | --ffast-math since it alters the ABI. */ | |
d747a0a5 | 7 | #if defined __FAST_MATH__ && !defined TEST_FAST_MATH |
8a989129 UD |
8 | # error "glibc must not be compiled with -ffast-math" |
9 | #endif | |
10 | ||
28f540f4 | 11 | /* Define if using ELF, which supports weak symbols. |
c224a18a RM |
12 | This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by |
13 | --with-elf. */ | |
28f540f4 RM |
14 | #undef HAVE_ELF |
15 | ||
74a30a58 UD |
16 | /* Define if building with SELinux support. Set by --with-selinux. */ |
17 | #undef HAVE_SELINUX | |
18 | ||
ec23b9be UD |
19 | /* Defined if building with SELinux support & audit libs are detected. */ |
20 | #undef HAVE_LIBAUDIT | |
21 | ||
5af3245a UD |
22 | /* Define if using XCOFF. Set by --with-xcoff. */ |
23 | #undef HAVE_XCOFF | |
24 | ||
c224a18a RM |
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 | |
28 | ||
29 | /* Define if weak symbols are available via the `.weak' directive. */ | |
30 | #undef HAVE_ASM_WEAK_DIRECTIVE | |
31 | ||
32 | /* Define if weak symbols are available via the `.weakext' directive. */ | |
33 | #undef HAVE_ASM_WEAKEXT_DIRECTIVE | |
28f540f4 | 34 | |
50189569 AJ |
35 | /* Define if CFI directives are available. */ |
36 | #undef HAVE_ASM_CFI_DIRECTIVES | |
37 | ||
b15cb495 UD |
38 | /* Define to the assembler line separator character for multiple |
39 | assembler instructions per line. Default is `;' */ | |
40 | #undef ASM_LINE_SEP | |
41 | ||
b8dc6a10 RM |
42 | /* Define if not using ELF, but `.init' and `.fini' sections are available. */ |
43 | #undef HAVE_INITFINI | |
44 | ||
e26dd47f UD |
45 | /* Define if __attribute__((section("foo"))) puts quotes around foo. */ |
46 | #undef HAVE_SECTION_QUOTES | |
47 | ||
e215c478 RM |
48 | /* Define if the assembler supports the `.set' directive. */ |
49 | #undef HAVE_ASM_SET_DIRECTIVE | |
50 | ||
65b3cbcb RM |
51 | /* Define to the name of the assembler's directive for |
52 | declaring a symbol global (default `.globl'). */ | |
53 | #undef ASM_GLOBAL_DIRECTIVE | |
54 | ||
b88ac073 RM |
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 | |
58 | ||
4242e56a UD |
59 | /* Define a symbol_name as a global .symbol_name for ld. */ |
60 | #undef HAVE_ASM_GLOBAL_DOT_NAME | |
61 | ||
590b40f7 UD |
62 | /* On powerpc64, use overlapping .opd entries. */ |
63 | #undef USE_PPC64_OVERLAPPING_OPD | |
64 | ||
073e82bf RM |
65 | /* Define if the assembler generates debugging information directly. */ |
66 | #undef HAVE_CPP_ASM_DEBUGINFO | |
67 | ||
74bd2300 UD |
68 | /* Define if _Unwind_Find_FDE should be exported from glibc. */ |
69 | #undef EXPORT_UNWIND_FIND_FDE | |
70 | ||
deab9dea RM |
71 | /* Define to use GNU libio instead of GNU stdio. |
72 | This is defined by configure under --enable-libio. */ | |
73 | #undef USE_IN_LIBIO | |
92777700 | 74 | |
fd26970f UD |
75 | /* Define if using ELF and the assembler supports the `.previous' |
76 | directive. */ | |
77 | #undef HAVE_ASM_PREVIOUS_DIRECTIVE | |
78 | ||
79 | /* Define if using ELF and the assembler supports the `.popsection' | |
80 | directive. */ | |
81 | #undef HAVE_ASM_POPSECTION_DIRECTIVE | |
82 | ||
377a515b UD |
83 | /* Define if versioning of the library is wanted. */ |
84 | #undef DO_VERSIONING | |
85 | ||
deb7f0b4 UD |
86 | /* Defined to the oldest ABI we support, like 2.1. */ |
87 | #undef GLIBC_OLDEST_ABI | |
88 | ||
5107cf1d UD |
89 | /* Define if static NSS modules are wanted. */ |
90 | #undef DO_STATIC_NSS | |
91 | ||
a8eab8b1 UD |
92 | /* Define if the compiler supports __builtin_expect. */ |
93 | #undef HAVE_BUILTIN_EXPECT | |
94 | ||
d555194c UD |
95 | /* Define if the compiler supports __builtin_memset. */ |
96 | #undef HAVE_BUILTIN_MEMSET | |
97 | ||
85dd1003 UD |
98 | /* Define if __asm () on built-in function's prototype causes redirection of |
99 | the builtin. */ | |
100 | #undef HAVE_BUILTIN_REDIRECTION | |
101 | ||
739d440d UD |
102 | /* Define if the __thread keyword is supported. */ |
103 | #undef HAVE___THREAD | |
104 | ||
9b21e6bc RM |
105 | /* Define if the compiler supports __attribute__((tls_model(""))). */ |
106 | #undef HAVE_TLS_MODEL_ATTRIBUTE | |
107 | ||
66000494 | 108 | /* Define if the regparm attribute shall be used for local functions |
dfd2257a UD |
109 | (gcc on ix86 only). */ |
110 | #undef USE_REGPARMS | |
111 | ||
66000494 UD |
112 | /* Defined on PowerPC if the GCC being used has a problem with clobbering |
113 | certain registers (CR0, MQ, CTR, LR) in asm statements. */ | |
114 | #undef BROKEN_PPC_ASM_CR0 | |
115 | ||
6900ded2 UD |
116 | /* Defined on SPARC if ld doesn't handle R_SPARC_WDISP22 against .hidden |
117 | symbol. sysdeps/sparc/sparc32/elf/configure. */ | |
118 | #undef BROKEN_SPARC_WDISP22 | |
119 | ||
a711b01d UD |
120 | /* Define if the linker supports the -z combreloc option. */ |
121 | #undef HAVE_Z_COMBRELOC | |
122 | ||
5688da55 UD |
123 | /* Define if the assembler supported .protected. */ |
124 | #undef HAVE_PROTECTED | |
125 | ||
5c24bb7d UD |
126 | /* Define if the assembler supported .hidden. */ |
127 | #undef HAVE_HIDDEN | |
128 | ||
0d01dace UD |
129 | /* Define if the compiler supports __attribute__ ((visibility (...))). */ |
130 | #undef HAVE_VISIBILITY_ATTRIBUTE | |
131 | ||
6719f7a6 UD |
132 | /* Define if the compiler doesn't support __attribute__ ((visibility (...))) |
133 | together with __asm__ redirection properly. */ | |
134 | #undef HAVE_BROKEN_VISIBILITY_ATTRIBUTE | |
135 | ||
136 | /* Define if the compiler doesn't support __attribute__ ((alias (...))) | |
137 | together with __asm__ redirection properly. */ | |
138 | #undef HAVE_BROKEN_ALIAS_ATTRIBUTE | |
139 | ||
0d01dace UD |
140 | /* Define if _rtld_local structure should be forced into .sdata section. */ |
141 | #undef HAVE_SDATA_SECTION | |
142 | ||
e23f8d20 UD |
143 | /* Define if binutils support TLS handling. */ |
144 | #undef HAVE_TLS_SUPPORT | |
145 | ||
c776b3d7 UD |
146 | /* Define if the compiler's exception support is based on libunwind. */ |
147 | #undef HAVE_CC_WITH_LIBUNWIND | |
148 | ||
5a47e7f2 UD |
149 | /* Define if the access to static and hidden variables is position independent |
150 | and does not need relocations. */ | |
151 | #undef PI_STATIC_AND_HIDDEN | |
152 | ||
749a9a4f RM |
153 | /* Define this to disable the `hidden_proto' et al macros in |
154 | include/libc-symbols.h that avoid PLT slots in the shared objects. */ | |
155 | #undef NO_HIDDEN | |
156 | ||
dfd2257a UD |
157 | |
158 | /* Defined to some form of __attribute__ ((...)) if the compiler supports | |
159 | a different, more efficient calling convention. */ | |
6fc1dd3f | 160 | #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__ |
dfd2257a UD |
161 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
162 | #endif | |
163 | ||
958f238f UD |
164 | /* Linux specific: minimum supported kernel version. */ |
165 | #undef __LINUX_KERNEL_VERSION | |
166 | ||
a986484f UD |
167 | /* Override abi-tags ABI version if necessary. */ |
168 | #undef __ABI_TAG_VERSION | |
169 | ||
a3151b02 UD |
170 | /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help |
171 | getopt determine whether a parameter is a flag or not. This features | |
172 | was disabled later since it caused trouble. We are by default therefore | |
173 | disabling the support as well. */ | |
174 | #undef USE_NONOPTION_FLAGS | |
175 | ||
dde2f4a0 RM |
176 | /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ |
177 | #undef HAVE_MIG_RETCODE | |
178 | ||
30537cab RM |
179 | /* Mach specific: define if the `host_page_size' RPC is available. */ |
180 | #undef HAVE_HOST_PAGE_SIZE | |
181 | ||
db6b51ad RM |
182 | /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */ |
183 | #undef HAVE_I386_IO_PERM_MODIFY | |
184 | ||
679e4c43 RM |
185 | /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ |
186 | #undef HAVE_I386_SET_GDT | |
187 | ||
162434a6 UD |
188 | /* Defined if forced unwind support is available. */ |
189 | #undef HAVE_FORCED_UNWIND | |
190 | ||
392a6b52 UD |
191 | /* Defined if the linker supports the -z relro option. */ |
192 | #undef HAVE_Z_RELRO | |
193 | ||
e2fd3cbe UD |
194 | /* Defined of libidn is available. */ |
195 | #undef HAVE_LIBIDN | |
196 | ||
ce6e047f UD |
197 | /* Define if inlined system calls are available. */ |
198 | #undef HAVE_INLINED_SYSCALLS | |
199 | ||
99c7f870 UD |
200 | /* Define if your assembler and linker support R_PPC_REL16* relocs. */ |
201 | #undef HAVE_ASM_PPC_REL16 | |
202 | ||
70c50602 UD |
203 | /* Define if your compiler defaults to -msecure-plt mode on ppc. */ |
204 | #undef HAVE_PPC_SECURE_PLT | |
205 | ||
35f1e827 UD |
206 | /* Define if __stack_chk_guard canary should be randomized at program startup. */ |
207 | #undef ENABLE_STACKGUARD_RANDOMIZE | |
208 | ||
92777700 RM |
209 | /* |
210 | \f */ | |
211 | ||
212 | #ifndef _LIBC | |
213 | ||
214 | /* These symbols might be defined by some sysdeps configures. | |
215 | They are used only in miscellaneous generator programs, not | |
216 | in compiling libc itself. */ | |
28f540f4 RM |
217 | |
218 | /* sysdeps/generic/configure.in */ | |
219 | #undef HAVE_PSIGNAL | |
220 | ||
92777700 RM |
221 | /* sysdeps/unix/configure.in */ |
222 | #undef HAVE_STRERROR | |
223 | ||
28f540f4 RM |
224 | /* sysdeps/unix/common/configure.in */ |
225 | #undef HAVE_SYS_SIGLIST | |
226 | #undef HAVE__SYS_SIGLIST | |
227 | #undef HAVE__CTYPE_ | |
228 | #undef HAVE___CTYPE_ | |
229 | #undef HAVE___CTYPE | |
230 | #undef HAVE__CTYPE__ | |
231 | #undef HAVE__CTYPE | |
232 | #undef HAVE__LOCP | |
92777700 RM |
233 | |
234 | #endif | |
235 | ||
236 | /* | |
237 | \f */ | |
238 | ||
239 | #ifdef _LIBC | |
240 | ||
241 | /* The zic and zdump programs need these definitions. */ | |
242 | ||
243 | #define HAVE_STRERROR 1 | |
244 | ||
9a8c0d4f RM |
245 | /* The locale code needs these definitions. */ |
246 | ||
247 | #define HAVE_REGEX 1 | |
248 | ||
92777700 | 249 | #endif |