Remove ASM_TYPE_DIRECTIVE for ARM.
[platform/upstream/glibc.git] / config.h.in
1 #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \
2     && !defined __OPTIMIZE__
3 # error "glibc cannot be compiled without optimization"
4 #endif
5
6 /* Another evil option when it comes to compiling the C library is
7    --ffast-math since it alters the ABI.  */
8 #if defined __FAST_MATH__ && !defined TEST_FAST_MATH
9 # error "glibc must not be compiled with -ffast-math"
10 #endif
11
12 /* Define if building with SELinux support.  Set by --with-selinux.  */
13 #undef  HAVE_SELINUX
14
15 /* Defined if building with SELinux support & audit libs are detected. */
16 #undef  HAVE_LIBAUDIT
17
18 /* Defined if building with SELinux support & libcap libs are detected.  */
19 #undef  HAVE_LIBCAP
20
21 /* Define if weak symbols are available via the `.weak' directive.  */
22 #undef  HAVE_ASM_WEAK_DIRECTIVE
23
24 /* Define if weak symbols are available via the `.weakext' directive.  */
25 #undef  HAVE_ASM_WEAKEXT_DIRECTIVE
26
27 /* Define if CFI directives are available.  */
28 #undef  HAVE_ASM_CFI_DIRECTIVES
29
30 /* Define to the assembler line separator character for multiple
31    assembler instructions per line.  Default is `;'  */
32 #undef ASM_LINE_SEP
33
34 /* Define if __attribute__((section("foo"))) puts quotes around foo.  */
35 #undef  HAVE_SECTION_QUOTES
36
37 /* Define if the assembler supports the `.set' directive.  */
38 #undef  HAVE_ASM_SET_DIRECTIVE
39
40 /* Define if the assembler supports the gnu_unique_object symbol type.  */
41 #undef  HAVE_ASM_UNIQUE_OBJECT
42
43 /* Define a symbol_name as a global .symbol_name for ld.  */
44 #undef  HAVE_ASM_GLOBAL_DOT_NAME
45
46 /* On powerpc64, use overlapping .opd entries.  */
47 #undef  USE_PPC64_OVERLAPPING_OPD
48
49 /* Define if the assembler generates debugging information directly.  */
50 #undef  HAVE_CPP_ASM_DEBUGINFO
51
52 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
53 #undef  EXPORT_UNWIND_FIND_FDE
54
55 /* Define if using ELF and the assembler supports the `.previous'
56    directive.  */
57 #undef  HAVE_ASM_PREVIOUS_DIRECTIVE
58
59 /* Define if using ELF and the assembler supports the `.popsection'
60    directive.  */
61 #undef  HAVE_ASM_POPSECTION_DIRECTIVE
62
63 /* Define if versioning of the library is wanted.  */
64 #undef  DO_VERSIONING
65
66 /* Defined to the oldest ABI we support, like 2.1.  */
67 #undef GLIBC_OLDEST_ABI
68
69 /* Define if static NSS modules are wanted.  */
70 #undef  DO_STATIC_NSS
71
72 /* Define if the compiler supports __builtin_memset.  */
73 #undef  HAVE_BUILTIN_MEMSET
74
75 /* Define if the regparm attribute shall be used for local functions
76    (gcc on ix86 only).  */
77 #undef  USE_REGPARMS
78
79 /* Defined on PowerPC if the GCC being used has a problem with clobbering
80    certain registers (CR0, MQ, CTR, LR) in asm statements.  */
81 #undef  BROKEN_PPC_ASM_CR0
82
83 /* Defined on SPARC if GCC emits GOTDATA relocations.  */
84 #undef  HAVE_GCC_GOTDATA
85
86 /* Define on SPARC if AS supports VIS3 instructions.  */
87 #undef  HAVE_AS_VIS3_SUPPORT
88
89 /* Define if the linker supports the -z combreloc option.  */
90 #undef  HAVE_Z_COMBRELOC
91
92 /* Define if _rtld_local structure should be forced into .sdata section.  */
93 #undef  HAVE_SDATA_SECTION
94
95 /* Define if gcc supports SSE4.  */
96 #undef  HAVE_SSE4_SUPPORT
97
98 /* Define if gcc supports AVX.  */
99 #undef  HAVE_AVX_SUPPORT
100
101 /* Define if gcc supports VEX encoding.  */
102 #undef  HAVE_SSE2AVX_SUPPORT
103
104 /* Define if gcc supports FMA4.  */
105 #undef  HAVE_FMA4_SUPPORT
106
107 /* Define if the compiler\'s exception support is based on libunwind.  */
108 #undef  HAVE_CC_WITH_LIBUNWIND
109
110 /* Define if the access to static and hidden variables is position independent
111    and does not need relocations.  */
112 #undef  PI_STATIC_AND_HIDDEN
113
114 /* Define this to disable the 'hidden_proto' et al macros in
115    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
116 #undef  NO_HIDDEN
117
118
119 /* Defined to some form of __attribute__ ((...)) if the compiler supports
120    a different, more efficient calling convention.  */
121 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
122 # define internal_function __attribute__ ((regparm (3), stdcall))
123 #endif
124
125 /* Linux specific: minimum supported kernel version.  */
126 #undef  __LINUX_KERNEL_VERSION
127
128 /* Override abi-tags ABI version if necessary.  */
129 #undef  __ABI_TAG_VERSION
130
131 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
132    getopt determine whether a parameter is a flag or not.  This features
133    was disabled later since it caused trouble.  We are by default therefore
134    disabling the support as well.  */
135 #undef USE_NONOPTION_FLAGS
136
137 /* Mach/Hurd specific: define if mig supports the `retcode' keyword.  */
138 #undef  HAVE_MIG_RETCODE
139
140 /* Mach specific: define if the `host_page_size' RPC is available.  */
141 #undef  HAVE_HOST_PAGE_SIZE
142
143 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available.  */
144 #undef  HAVE_I386_IO_PERM_MODIFY
145
146 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available.  */
147 #undef  HAVE_I386_SET_GDT
148
149 /* Defined if forced unwind support is available.  */
150 #undef  HAVE_FORCED_UNWIND
151
152 /* Defined of libidn is available.  */
153 #undef HAVE_LIBIDN
154
155 /* Define if inlined system calls are available.  */
156 #undef HAVE_INLINED_SYSCALLS
157
158 /* Define if your assembler and linker support R_PPC_REL16* relocs.  */
159 #undef HAVE_ASM_PPC_REL16
160
161 /* Define if your compiler defaults to -msecure-plt mode on ppc.  */
162 #undef HAVE_PPC_SECURE_PLT
163
164 /* Define if __stack_chk_guard canary should be randomized at program startup.  */
165 #undef ENABLE_STACKGUARD_RANDOMIZE
166
167 /* Define if multi-arch DSOs should be generated.  */
168 #undef USE_MULTIARCH
169
170 /* Define if `.ctors' and `.dtors' sections shouldn't be used.  */
171 #undef  NO_CTORS_DTORS_SECTIONS
172
173 /* Define if obsolete RPC code should be made available for user-level code
174    to link against.  */
175 #undef LINK_OBSOLETE_RPC
176
177 /* Define if Systemtap <sys/sdt.h> probes should be defined.  */
178 #undef USE_STAP_PROBE
179
180 /*
181 \f */
182
183 #ifndef _LIBC
184
185 /* These symbols might be defined by some sysdeps configures.
186    They are used only in miscellaneous generator programs, not
187    in compiling libc itself.   */
188
189 /* sysdeps/generic/configure.in */
190 #undef  HAVE_PSIGNAL
191
192 /* sysdeps/unix/configure.in */
193 #undef  HAVE_STRERROR
194
195 /* sysdeps/unix/common/configure.in */
196 #undef  HAVE_SYS_SIGLIST
197 #undef  HAVE__SYS_SIGLIST
198 #undef  HAVE__CTYPE_
199 #undef  HAVE___CTYPE_
200 #undef  HAVE___CTYPE
201 #undef  HAVE__CTYPE__
202 #undef  HAVE__CTYPE
203 #undef  HAVE__LOCP
204
205 #endif
206
207 /*
208 \f */
209
210 #ifdef  _LIBC
211
212 /* The zic and zdump programs need these definitions.  */
213
214 #define HAVE_STRERROR   1
215
216 /* The locale code needs these definitions.  */
217
218 #define HAVE_REGEX 1
219
220 /* The ARM hard-float ABI is being used.  */
221 #undef HAVE_ARM_PCS_VFP
222
223 #endif