1 // Symbols and macros for libstdc++ -*- C++ -*-
5 // Define symbol versioning in assember directives. If symbol
6 // versioning is beigng used, and the assembler supports this kind of
8 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
10 #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
11 asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
13 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
16 // Systems that have certain non-standard functions prefixed with an
17 // underscore, we'll handle those here. Must come after config.h.in.
19 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
24 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
29 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
34 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
39 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
44 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
49 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
54 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
59 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
60 # define HAVE_COPYSIGN 1
61 # define copysign _copysign
64 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
65 # define HAVE_COPYSIGNL 1
66 # define copysignl _copysignl
69 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
74 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
79 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
84 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
89 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
94 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
99 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
100 # define HAVE_FABSF 1
101 # define fabsf _fabsf
104 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
105 # define HAVE_FABSL 1
106 # define fabsl _fabsl
109 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
110 # define HAVE_FINITE 1
111 # define finite _finite
114 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
115 # define HAVE_FINITEF 1
116 # define finitef _finitef
119 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
120 # define HAVE_FINITEL 1
121 # define finitel _finitel
124 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
125 # define HAVE_FLOORF 1
126 # define floorf _floorf
129 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
130 # define HAVE_FLOORL 1
131 # define floorl _floorl
134 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
135 # define HAVE_FMODF 1
136 # define fmodf _fmodf
139 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
140 # define HAVE_FMODL 1
141 # define fmodl _fmodl
144 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
145 # define HAVE_FPCLASS 1
146 # define fpclass _fpclass
149 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
150 # define HAVE_FREXPF 1
151 # define frexpf _frexpf
154 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
155 # define HAVE_FREXPL 1
156 # define frexpl _frexpl
159 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
160 # define HAVE_ISINF 1
161 # define isinf _isinf
164 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
165 # define HAVE_ISINFF 1
166 # define isinff _isinff
169 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
170 # define HAVE_ISINFL 1
171 # define isinfl _isinfl
174 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
175 # define HAVE_ISNAN 1
176 # define isnan _isnan
179 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
180 # define HAVE_ISNANF 1
181 # define isnanf _isnanf
184 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
185 # define HAVE_ISNANL 1
186 # define isnanl _isnanl
189 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
190 # define HAVE_LDEXPF 1
191 # define ldexpf _ldexpf
194 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
195 # define HAVE_LDEXPL 1
196 # define ldexpl _ldexpl
199 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
200 # define HAVE_LOG10F 1
201 # define log10f _log10f
204 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
205 # define HAVE_LOG10L 1
206 # define log10l _log10l
209 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
214 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
219 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
224 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
229 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
234 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
239 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
240 # define HAVE_QFINITE 1
241 # define qfinite _qfinite
244 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
245 # define HAVE_QFPCLASS 1
246 # define qfpclass _qfpclass
249 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
250 # define HAVE_SINCOS 1
251 # define sincos _sincos
254 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
255 # define HAVE_SINCOSF 1
256 # define sincosf _sincosf
259 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
260 # define HAVE_SINCOSL 1
261 # define sincosl _sincosl
264 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
269 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
270 # define HAVE_SINHF 1
271 # define sinhf _sinhf
274 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
275 # define HAVE_SINHL 1
276 # define sinhl _sinhl
279 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
284 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
285 # define HAVE_SQRTF 1
286 # define sqrtf _sqrtf
289 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
290 # define HAVE_SQRTL 1
291 # define sqrtl _sqrtl
294 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
295 # define HAVE_STRTOF 1
296 # define strtof _strtof
299 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
300 # define HAVE_STRTOLD 1
301 # define strtold _strtold
304 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
309 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
310 # define HAVE_TANHF 1
311 # define tanhf _tanhf
314 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
315 # define HAVE_TANHL 1
316 # define tanhl _tanhl
319 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)