Also relocate in dependency order when doing symbol dependency testing
[glibc.git] / config.h.in
blob7b5095691d15029d4c318120c0aae1ebeaee0492
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 /* Defined if building with SELinux support & libcap libs are detected. */
23 #undef HAVE_LIBCAP
25 /* Define if using XCOFF. Set by --with-xcoff. */
26 #undef HAVE_XCOFF
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
32 /* Define if weak symbols are available via the `.weak' directive. */
33 #undef HAVE_ASM_WEAK_DIRECTIVE
35 /* Define if weak symbols are available via the `.weakext' directive. */
36 #undef HAVE_ASM_WEAKEXT_DIRECTIVE
38 /* Define if CFI directives are available. */
39 #undef HAVE_ASM_CFI_DIRECTIVES
41 /* Define to the assembler line separator character for multiple
42 assembler instructions per line. Default is `;' */
43 #undef ASM_LINE_SEP
45 /* Define if not using ELF, but `.init' and `.fini' sections are available. */
46 #undef HAVE_INITFINI
48 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
49 #undef HAVE_SECTION_QUOTES
51 /* Define if the assembler supports the `.set' directive. */
52 #undef HAVE_ASM_SET_DIRECTIVE
54 /* Define to the name of the assembler's directive for
55 declaring a symbol global (default `.globl'). */
56 #undef ASM_GLOBAL_DIRECTIVE
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
62 /* Define if the assembler supports the gnu_unique_object symbol type. */
63 #undef HAVE_ASM_UNIQUE_OBJECT
65 /* Define a symbol_name as a global .symbol_name for ld. */
66 #undef HAVE_ASM_GLOBAL_DOT_NAME
68 /* On powerpc64, use overlapping .opd entries. */
69 #undef USE_PPC64_OVERLAPPING_OPD
71 /* Define if the assembler generates debugging information directly. */
72 #undef HAVE_CPP_ASM_DEBUGINFO
74 /* Define if _Unwind_Find_FDE should be exported from glibc. */
75 #undef EXPORT_UNWIND_FIND_FDE
77 /* Define if using ELF and the assembler supports the `.previous'
78 directive. */
79 #undef HAVE_ASM_PREVIOUS_DIRECTIVE
81 /* Define if using ELF and the assembler supports the `.popsection'
82 directive. */
83 #undef HAVE_ASM_POPSECTION_DIRECTIVE
85 /* Define if versioning of the library is wanted. */
86 #undef DO_VERSIONING
88 /* Defined to the oldest ABI we support, like 2.1. */
89 #undef GLIBC_OLDEST_ABI
91 /* Define if static NSS modules are wanted. */
92 #undef DO_STATIC_NSS
94 /* Define if the compiler supports __builtin_memset. */
95 #undef HAVE_BUILTIN_MEMSET
97 /* Define if the regparm attribute shall be used for local functions
98 (gcc on ix86 only). */
99 #undef USE_REGPARMS
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
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
109 /* Define if the linker supports the -z combreloc option. */
110 #undef HAVE_Z_COMBRELOC
112 /* Define if _rtld_local structure should be forced into .sdata section. */
113 #undef HAVE_SDATA_SECTION
115 /* Define if gcc supports SSE4. */
116 #undef HAVE_SSE4_SUPPORT
118 /* Define if gcc supports AVX. */
119 #undef HAVE_AVX_SUPPORT
121 /* Define if the compiler's exception support is based on libunwind. */
122 #undef HAVE_CC_WITH_LIBUNWIND
124 /* Define if the access to static and hidden variables is position independent
125 and does not need relocations. */
126 #undef PI_STATIC_AND_HIDDEN
128 /* Define this to disable the `hidden_proto' et al macros in
129 include/libc-symbols.h that avoid PLT slots in the shared objects. */
130 #undef NO_HIDDEN
133 /* Defined to some form of __attribute__ ((...)) if the compiler supports
134 a different, more efficient calling convention. */
135 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
136 # define internal_function __attribute__ ((regparm (3), stdcall))
137 #endif
139 /* Linux specific: minimum supported kernel version. */
140 #undef __LINUX_KERNEL_VERSION
142 /* Override abi-tags ABI version if necessary. */
143 #undef __ABI_TAG_VERSION
145 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
146 getopt determine whether a parameter is a flag or not. This features
147 was disabled later since it caused trouble. We are by default therefore
148 disabling the support as well. */
149 #undef USE_NONOPTION_FLAGS
151 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
152 #undef HAVE_MIG_RETCODE
154 /* Mach specific: define if the `host_page_size' RPC is available. */
155 #undef HAVE_HOST_PAGE_SIZE
157 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
158 #undef HAVE_I386_IO_PERM_MODIFY
160 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
161 #undef HAVE_I386_SET_GDT
163 /* Defined if forced unwind support is available. */
164 #undef HAVE_FORCED_UNWIND
166 /* Defined of libidn is available. */
167 #undef HAVE_LIBIDN
169 /* Define if inlined system calls are available. */
170 #undef HAVE_INLINED_SYSCALLS
172 /* Define if your assembler and linker support R_PPC_REL16* relocs. */
173 #undef HAVE_ASM_PPC_REL16
175 /* Define if your compiler defaults to -msecure-plt mode on ppc. */
176 #undef HAVE_PPC_SECURE_PLT
178 /* Define if __stack_chk_guard canary should be randomized at program startup. */
179 #undef ENABLE_STACKGUARD_RANDOMIZE
181 /* Define if multi-arch DSOs should be generated. */
182 #undef USE_MULTIARCH
184 /* Define if `.ctors' and `.dtors' sections shouldn't be used. */
185 #undef NO_CTORS_DTORS_SECTIONS
188 \f */
190 #ifndef _LIBC
192 /* These symbols might be defined by some sysdeps configures.
193 They are used only in miscellaneous generator programs, not
194 in compiling libc itself. */
196 /* sysdeps/generic/configure.in */
197 #undef HAVE_PSIGNAL
199 /* sysdeps/unix/configure.in */
200 #undef HAVE_STRERROR
202 /* sysdeps/unix/common/configure.in */
203 #undef HAVE_SYS_SIGLIST
204 #undef HAVE__SYS_SIGLIST
205 #undef HAVE__CTYPE_
206 #undef HAVE___CTYPE_
207 #undef HAVE___CTYPE
208 #undef HAVE__CTYPE__
209 #undef HAVE__CTYPE
210 #undef HAVE__LOCP
212 #endif
215 \f */
217 #ifdef _LIBC
219 /* The zic and zdump programs need these definitions. */
221 #define HAVE_STRERROR 1
223 /* The locale code needs these definitions. */
225 #define HAVE_REGEX 1
227 #endif