Add i386/dl-brk.S, mips/dl-brk.S, and sparc/dl-brk.S.
[platform/upstream/glibc.git] / config.h.in
1 #if !defined __ASSEMBLER__ && !defined _ISOMAC && !defined __OPTIMIZE__
2 # error "glibc cannot be compiled without optimization"
3 #endif
4
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
10
11 /* Define if using GNU ld, with support for weak symbols in a.out,
12    and for symbol set and warning messages extensions in a.out and ELF.
13    This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld.  */
14 #undef  HAVE_GNU_LD
15
16 /* Define if using ELF, which supports weak symbols.
17    This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
18    --with-elf.  */
19 #undef  HAVE_ELF
20
21 /* Define if using XCOFF. Set by --with-xcoff.  */
22 #undef  HAVE_XCOFF
23
24 /* Define if C symbols are asm symbols.  Don't define if C symbols
25    have a `_' prepended to make the asm symbol.  */
26 #undef  NO_UNDERSCORES
27
28 /* Define if weak symbols are available via the `.weak' directive.  */
29 #undef  HAVE_ASM_WEAK_DIRECTIVE
30
31 /* Define if weak symbols are available via the `.weakext' directive.  */
32 #undef  HAVE_ASM_WEAKEXT_DIRECTIVE
33
34 /* Define to the assembler line separator character for multiple
35    assembler instructions per line.  Default is `;'  */
36 #undef ASM_LINE_SEP
37
38 /* Define if not using ELF, but `.init' and `.fini' sections are available.  */
39 #undef  HAVE_INITFINI
40
41 /* Define if __attribute__((section("foo"))) puts quotes around foo.  */
42 #undef  HAVE_SECTION_QUOTES
43
44 /* Define if using the GNU assembler, gas.  */
45 #undef  HAVE_GNU_AS
46
47 /* Define if the assembler supports the `.set' directive.  */
48 #undef  HAVE_ASM_SET_DIRECTIVE
49
50 /* Define to the name of the assembler's directive for
51    declaring a symbol global (default `.globl').  */
52 #undef  ASM_GLOBAL_DIRECTIVE
53
54 /* Define to the prefix before `object' or `function' in the
55    assembler's `.type' directive, if it has one.  */
56 #undef  ASM_TYPE_DIRECTIVE_PREFIX
57
58 /* Define a symbol_name as a global .symbol_name for ld.  */
59 #undef  HAVE_ASM_GLOBAL_DOT_NAME
60
61 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
62 #undef  EXPORT_UNWIND_FIND_FDE
63
64 /* Define to use GNU libio instead of GNU stdio.
65    This is defined by configure under --enable-libio.  */
66 #undef  USE_IN_LIBIO
67
68 /* Define if using ELF and the assembler supports the `.previous'
69    directive.  */
70 #undef  HAVE_ASM_PREVIOUS_DIRECTIVE
71
72 /* Define if using ELF and the assembler supports the `.popsection'
73    directive.  */
74 #undef  HAVE_ASM_POPSECTION_DIRECTIVE
75
76 /* Define to the prefix Alpha/ELF GCC emits before ..ng symbols.  */
77 #undef  ASM_ALPHA_NG_SYMBOL_PREFIX
78
79 /* Define if versioning of the library is wanted.  */
80 #undef  DO_VERSIONING
81
82 /* Defined to the oldest ABI we support, like 2.1.  */
83 #undef GLIBC_OLDEST_ABI
84
85 /* Define if static NSS modules are wanted.  */
86 #undef  DO_STATIC_NSS
87
88 /* Define if gcc uses DWARF2 unwind information for exception support.  */
89 #undef  HAVE_DWARF2_UNWIND_INFO
90
91 /* Define if gcc uses DWARF2 unwind information for exception support
92    with static variable. */
93 #undef  HAVE_DWARF2_UNWIND_INFO_STATIC
94
95 /* Define if the compiler supports __builtin_expect.  */
96 #undef  HAVE_BUILTIN_EXPECT
97
98 /* Define if the compiler supports __builtin_memset.  */
99 #undef  HAVE_BUILTIN_MEMSET
100
101 /* Define if the __thread keyword is supported.  */
102 #undef HAVE___THREAD
103
104 /* Define if the regparm attribute shall be used for local functions
105    (gcc on ix86 only).  */
106 #undef  USE_REGPARMS
107
108 /* Defined on PowerPC if the GCC being used has a problem with clobbering
109    certain registers (CR0, MQ, CTR, LR) in asm statements.  */
110 #undef  BROKEN_PPC_ASM_CR0
111
112 /* Define if the linker supports the -z combreloc option.  */
113 #undef  HAVE_Z_COMBRELOC
114
115 /* Define if the assembler supported .protected.  */
116 #undef  HAVE_PROTECTED
117
118 /* Define if the assembler supported .hidden.  */
119 #undef  HAVE_HIDDEN
120
121 /* Define if the compiler supports __attribute__ ((visibility (...))).  */
122 #undef  HAVE_VISIBILITY_ATTRIBUTE
123
124 /* Define if the compiler doesn't support __attribute__ ((visibility (...)))
125    together with __asm__ redirection properly.  */
126 #undef  HAVE_BROKEN_VISIBILITY_ATTRIBUTE
127
128 /* Define if the compiler doesn't support __attribute__ ((alias (...)))
129    together with __asm__ redirection properly.  */
130 #undef  HAVE_BROKEN_ALIAS_ATTRIBUTE
131
132 /* Define if _rtld_local structure should be forced into .sdata section.  */
133 #undef  HAVE_SDATA_SECTION
134
135 /* Define if binutils support TLS handling.  */
136 #undef  HAVE_TLS_SUPPORT
137
138 /* Define if the linker supports .preinit_array/.init_array/.fini_array
139    sections.  */
140 #undef  HAVE_INITFINI_ARRAY
141
142 /* Define if the access to static and hidden variables is position independent
143    and does not need relocations.  */
144 #undef  PI_STATIC_AND_HIDDEN
145
146
147 /* Defined to some form of __attribute__ ((...)) if the compiler supports
148    a different, more efficient calling convention.  */
149 #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
150 # define internal_function __attribute__ ((regparm (3), stdcall))
151 #endif
152
153 /* Linux specific: minimum supported kernel version.  */
154 #undef  __LINUX_KERNEL_VERSION
155
156 /* Override abi-tags ABI version if necessary.  */
157 #undef  __ABI_TAG_VERSION
158
159 /* An extension in gcc 2.96 and up allows the subtraction of two
160    local labels.  */
161 #undef  HAVE_SUBTRACT_LOCAL_LABELS
162
163 /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help
164    getopt determine whether a parameter is a flag or not.  This features
165    was disabled later since it caused trouble.  We are by default therefore
166    disabling the support as well.  */
167 #undef USE_NONOPTION_FLAGS
168
169 /* Mach/Hurd specific: define if mig supports the `retcode' keyword.  */
170 #undef  HAVE_MIG_RETCODE
171
172 /* Mach specific: define if the `host_page_size' RPC is available.  */
173 #undef  HAVE_HOST_PAGE_SIZE
174
175 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available.  */
176 #undef  HAVE_I386_IO_PERM_MODIFY
177
178 /* Sparc64 specific: define if .dynamic section comes before .got for
179    shared libs.  */
180 #undef  SPARC64_DYNAMIC_BEFORE_GOT
181
182 /*
183 \f */
184
185 #ifndef _LIBC
186
187 /* These symbols might be defined by some sysdeps configures.
188    They are used only in miscellaneous generator programs, not
189    in compiling libc itself.   */
190
191 /* sysdeps/generic/configure.in */
192 #undef  HAVE_PSIGNAL
193
194 /* sysdeps/unix/configure.in */
195 #undef  HAVE_STRERROR
196
197 /* sysdeps/unix/common/configure.in */
198 #undef  HAVE_SYS_SIGLIST
199 #undef  HAVE__SYS_SIGLIST
200 #undef  HAVE__CTYPE_
201 #undef  HAVE___CTYPE_
202 #undef  HAVE___CTYPE
203 #undef  HAVE__CTYPE__
204 #undef  HAVE__CTYPE
205 #undef  HAVE__LOCP
206
207 #endif
208
209 /*
210 \f */
211
212 #ifdef  _LIBC
213
214 /* The zic and zdump programs need these definitions.  */
215
216 #define HAVE_STRERROR   1
217
218 /* The locale code needs these definitions.  */
219
220 #define HAVE_REGEX 1
221
222 #endif