]>
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 | ||
e1f0c5bc UD |
22 | /* Defined if building with SELinux support & libcap libs are detected. */ |
23 | #undef HAVE_LIBCAP | |
24 | ||
5af3245a UD |
25 | /* Define if using XCOFF. Set by --with-xcoff. */ |
26 | #undef HAVE_XCOFF | |
27 | ||
c224a18a RM |
28 | /* Define if C symbols are asm symbols. Don't define if C symbols |
29 | have a `_' prepended to make the asm symbol. */ | |
30 | #undef NO_UNDERSCORES | |
31 | ||
32 | /* Define if weak symbols are available via the `.weak' directive. */ | |
33 | #undef HAVE_ASM_WEAK_DIRECTIVE | |
34 | ||
35 | /* Define if weak symbols are available via the `.weakext' directive. */ | |
36 | #undef HAVE_ASM_WEAKEXT_DIRECTIVE | |
28f540f4 | 37 | |
50189569 AJ |
38 | /* Define if CFI directives are available. */ |
39 | #undef HAVE_ASM_CFI_DIRECTIVES | |
40 | ||
b15cb495 UD |
41 | /* Define to the assembler line separator character for multiple |
42 | assembler instructions per line. Default is `;' */ | |
43 | #undef ASM_LINE_SEP | |
44 | ||
b8dc6a10 RM |
45 | /* Define if not using ELF, but `.init' and `.fini' sections are available. */ |
46 | #undef HAVE_INITFINI | |
47 | ||
e26dd47f UD |
48 | /* Define if __attribute__((section("foo"))) puts quotes around foo. */ |
49 | #undef HAVE_SECTION_QUOTES | |
50 | ||
e215c478 RM |
51 | /* Define if the assembler supports the `.set' directive. */ |
52 | #undef HAVE_ASM_SET_DIRECTIVE | |
53 | ||
65b3cbcb RM |
54 | /* Define to the name of the assembler's directive for |
55 | declaring a symbol global (default `.globl'). */ | |
56 | #undef ASM_GLOBAL_DIRECTIVE | |
57 | ||
b88ac073 RM |
58 | /* Define to the prefix before `object' or `function' in the |
59 | assembler's `.type' directive, if it has one. */ | |
60 | #undef ASM_TYPE_DIRECTIVE_PREFIX | |
61 | ||
415ac3df UD |
62 | /* Define if the assembler supports the gnu_unique_object symbol type. */ |
63 | #undef HAVE_ASM_UNIQUE_OBJECT | |
64 | ||
4242e56a UD |
65 | /* Define a symbol_name as a global .symbol_name for ld. */ |
66 | #undef HAVE_ASM_GLOBAL_DOT_NAME | |
67 | ||
590b40f7 UD |
68 | /* On powerpc64, use overlapping .opd entries. */ |
69 | #undef USE_PPC64_OVERLAPPING_OPD | |
70 | ||
073e82bf RM |
71 | /* Define if the assembler generates debugging information directly. */ |
72 | #undef HAVE_CPP_ASM_DEBUGINFO | |
73 | ||
74bd2300 UD |
74 | /* Define if _Unwind_Find_FDE should be exported from glibc. */ |
75 | #undef EXPORT_UNWIND_FIND_FDE | |
76 | ||
fd26970f UD |
77 | /* Define if using ELF and the assembler supports the `.previous' |
78 | directive. */ | |
79 | #undef HAVE_ASM_PREVIOUS_DIRECTIVE | |
80 | ||
81 | /* Define if using ELF and the assembler supports the `.popsection' | |
82 | directive. */ | |
83 | #undef HAVE_ASM_POPSECTION_DIRECTIVE | |
84 | ||
377a515b UD |
85 | /* Define if versioning of the library is wanted. */ |
86 | #undef DO_VERSIONING | |
87 | ||
deb7f0b4 UD |
88 | /* Defined to the oldest ABI we support, like 2.1. */ |
89 | #undef GLIBC_OLDEST_ABI | |
90 | ||
5107cf1d UD |
91 | /* Define if static NSS modules are wanted. */ |
92 | #undef DO_STATIC_NSS | |
93 | ||
d555194c UD |
94 | /* Define if the compiler supports __builtin_memset. */ |
95 | #undef HAVE_BUILTIN_MEMSET | |
96 | ||
66000494 | 97 | /* Define if the regparm attribute shall be used for local functions |
dfd2257a UD |
98 | (gcc on ix86 only). */ |
99 | #undef USE_REGPARMS | |
100 | ||
66000494 UD |
101 | /* Defined on PowerPC if the GCC being used has a problem with clobbering |
102 | certain registers (CR0, MQ, CTR, LR) in asm statements. */ | |
103 | #undef BROKEN_PPC_ASM_CR0 | |
104 | ||
6900ded2 UD |
105 | /* Defined on SPARC if ld doesn't handle R_SPARC_WDISP22 against .hidden |
106 | symbol. sysdeps/sparc/sparc32/elf/configure. */ | |
107 | #undef BROKEN_SPARC_WDISP22 | |
108 | ||
a711b01d UD |
109 | /* Define if the linker supports the -z combreloc option. */ |
110 | #undef HAVE_Z_COMBRELOC | |
111 | ||
0d01dace UD |
112 | /* Define if _rtld_local structure should be forced into .sdata section. */ |
113 | #undef HAVE_SDATA_SECTION | |
114 | ||
06e51c8f L |
115 | /* Define if gcc supports SSE4. */ |
116 | #undef HAVE_SSE4_SUPPORT | |
117 | ||
b0ecde3a L |
118 | /* Define if gcc supports AVX. */ |
119 | #undef HAVE_AVX_SUPPORT | |
120 | ||
ed72b654 UD |
121 | /* Define if gcc supports FMA4. */ |
122 | #undef HAVE_FMA4_SUPPORT | |
123 | ||
c776b3d7 UD |
124 | /* Define if the compiler's exception support is based on libunwind. */ |
125 | #undef HAVE_CC_WITH_LIBUNWIND | |
126 | ||
5a47e7f2 UD |
127 | /* Define if the access to static and hidden variables is position independent |
128 | and does not need relocations. */ | |
129 | #undef PI_STATIC_AND_HIDDEN | |
130 | ||
749a9a4f RM |
131 | /* Define this to disable the `hidden_proto' et al macros in |
132 | include/libc-symbols.h that avoid PLT slots in the shared objects. */ | |
133 | #undef NO_HIDDEN | |
134 | ||
dfd2257a UD |
135 | |
136 | /* Defined to some form of __attribute__ ((...)) if the compiler supports | |
137 | a different, more efficient calling convention. */ | |
6fc1dd3f | 138 | #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__ |
dfd2257a UD |
139 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
140 | #endif | |
141 | ||
958f238f UD |
142 | /* Linux specific: minimum supported kernel version. */ |
143 | #undef __LINUX_KERNEL_VERSION | |
144 | ||
a986484f UD |
145 | /* Override abi-tags ABI version if necessary. */ |
146 | #undef __ABI_TAG_VERSION | |
147 | ||
a3151b02 UD |
148 | /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help |
149 | getopt determine whether a parameter is a flag or not. This features | |
150 | was disabled later since it caused trouble. We are by default therefore | |
151 | disabling the support as well. */ | |
152 | #undef USE_NONOPTION_FLAGS | |
153 | ||
dde2f4a0 RM |
154 | /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ |
155 | #undef HAVE_MIG_RETCODE | |
156 | ||
30537cab RM |
157 | /* Mach specific: define if the `host_page_size' RPC is available. */ |
158 | #undef HAVE_HOST_PAGE_SIZE | |
159 | ||
db6b51ad RM |
160 | /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */ |
161 | #undef HAVE_I386_IO_PERM_MODIFY | |
162 | ||
679e4c43 RM |
163 | /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ |
164 | #undef HAVE_I386_SET_GDT | |
165 | ||
162434a6 UD |
166 | /* Defined if forced unwind support is available. */ |
167 | #undef HAVE_FORCED_UNWIND | |
168 | ||
e2fd3cbe UD |
169 | /* Defined of libidn is available. */ |
170 | #undef HAVE_LIBIDN | |
171 | ||
ce6e047f UD |
172 | /* Define if inlined system calls are available. */ |
173 | #undef HAVE_INLINED_SYSCALLS | |
174 | ||
99c7f870 UD |
175 | /* Define if your assembler and linker support R_PPC_REL16* relocs. */ |
176 | #undef HAVE_ASM_PPC_REL16 | |
177 | ||
70c50602 UD |
178 | /* Define if your compiler defaults to -msecure-plt mode on ppc. */ |
179 | #undef HAVE_PPC_SECURE_PLT | |
180 | ||
35f1e827 UD |
181 | /* Define if __stack_chk_guard canary should be randomized at program startup. */ |
182 | #undef ENABLE_STACKGUARD_RANDOMIZE | |
183 | ||
425ce2ed UD |
184 | /* Define if multi-arch DSOs should be generated. */ |
185 | #undef USE_MULTIARCH | |
186 | ||
4a531bb0 L |
187 | /* Define if `.ctors' and `.dtors' sections shouldn't be used. */ |
188 | #undef NO_CTORS_DTORS_SECTIONS | |
189 | ||
92777700 RM |
190 | /* |
191 | \f */ | |
192 | ||
193 | #ifndef _LIBC | |
194 | ||
195 | /* These symbols might be defined by some sysdeps configures. | |
196 | They are used only in miscellaneous generator programs, not | |
197 | in compiling libc itself. */ | |
28f540f4 RM |
198 | |
199 | /* sysdeps/generic/configure.in */ | |
200 | #undef HAVE_PSIGNAL | |
201 | ||
92777700 RM |
202 | /* sysdeps/unix/configure.in */ |
203 | #undef HAVE_STRERROR | |
204 | ||
28f540f4 RM |
205 | /* sysdeps/unix/common/configure.in */ |
206 | #undef HAVE_SYS_SIGLIST | |
207 | #undef HAVE__SYS_SIGLIST | |
208 | #undef HAVE__CTYPE_ | |
209 | #undef HAVE___CTYPE_ | |
210 | #undef HAVE___CTYPE | |
211 | #undef HAVE__CTYPE__ | |
212 | #undef HAVE__CTYPE | |
213 | #undef HAVE__LOCP | |
92777700 RM |
214 | |
215 | #endif | |
216 | ||
217 | /* | |
218 | \f */ | |
219 | ||
220 | #ifdef _LIBC | |
221 | ||
222 | /* The zic and zdump programs need these definitions. */ | |
223 | ||
224 | #define HAVE_STRERROR 1 | |
225 | ||
9a8c0d4f RM |
226 | /* The locale code needs these definitions. */ |
227 | ||
228 | #define HAVE_REGEX 1 | |
229 | ||
92777700 | 230 | #endif |