1/* in libgcc.a */
2
3#ifdef HAVE__ALLOCA
4  EXPLICIT_SYMBOL(_alloca)
5  EXPLICIT_SYMBOL2(alloca, _alloca)
6#endif
7#ifdef HAVE___ALLOCA
8  EXPLICIT_SYMBOL(__alloca)
9#endif
10#ifdef HAVE___CHKSTK
11  EXPLICIT_SYMBOL(__chkstk)
12#endif
13#ifdef HAVE___CHKSTK_MS
14  EXPLICIT_SYMBOL(__chkstk_ms)
15#endif
16#ifdef HAVE____CHKSTK
17  EXPLICIT_SYMBOL(___chkstk)
18#endif
19#ifdef HAVE____CHKSTK_MS
20  EXPLICIT_SYMBOL(___chkstk_ms)
21#endif
22#ifdef HAVE___MAIN
23  EXPLICIT_SYMBOL(__main) // FIXME: Don't call it.
24#endif
25
26#ifdef HAVE___ASHLDI3
27  EXPLICIT_SYMBOL(__ashldi3)
28#endif
29#ifdef HAVE___ASHRDI3
30  EXPLICIT_SYMBOL(__ashrdi3)
31#endif
32#ifdef HAVE___CMPDI2 // FIXME: unused
33  EXPLICIT_SYMBOL(__cmpdi2)
34#endif
35#ifdef HAVE___DIVDI3
36  EXPLICIT_SYMBOL(__divdi3)
37#endif
38#ifdef HAVE___FIXDFDI
39  EXPLICIT_SYMBOL(__fixdfdi)
40#endif
41#ifdef HAVE___FIXSFDI
42  EXPLICIT_SYMBOL(__fixsfdi)
43#endif
44#ifdef HAVE___FIXUNSDFDI
45  EXPLICIT_SYMBOL(__fixunsdfdi)
46#endif
47#ifdef HAVE___FIXUNSSFDI
48  EXPLICIT_SYMBOL(__fixunssfdi)
49#endif
50#ifdef HAVE___FLOATDIDF
51  EXPLICIT_SYMBOL(__floatdidf)
52#endif
53#ifdef HAVE___FLOATDISF
54  EXPLICIT_SYMBOL(__floatdisf)
55#endif
56#ifdef HAVE___LSHRDI3
57  EXPLICIT_SYMBOL(__lshrdi3)
58#endif
59#ifdef HAVE___MODDI3
60  EXPLICIT_SYMBOL(__moddi3)
61#endif
62#ifdef HAVE___UDIVDI3
63  EXPLICIT_SYMBOL(__udivdi3)
64#endif
65#ifdef HAVE___UMODDI3
66  EXPLICIT_SYMBOL(__umoddi3)
67#endif
68
69/* msvcrt */
70#if defined(_MSC_VER)
71  EXPLICIT_SYMBOL2(alloca, _alloca_probe)
72
73#ifdef _M_IX86
74#define INLINE_DEF_FLOAT_SYMBOL(SYM, ARGC) INLINE_DEF_SYMBOL##ARGC(float, SYM)
75  INLINE_DEF_FLOAT_SYMBOL(acosf, 1)
76  INLINE_DEF_FLOAT_SYMBOL(asinf, 1)
77  INLINE_DEF_FLOAT_SYMBOL(atanf, 1)
78  INLINE_DEF_FLOAT_SYMBOL(atan2f, 2)
79  INLINE_DEF_FLOAT_SYMBOL(ceilf, 1)
80  INLINE_DEF_FLOAT_SYMBOL(cosf, 1)
81  INLINE_DEF_FLOAT_SYMBOL(coshf, 1)
82  INLINE_DEF_FLOAT_SYMBOL(expf, 1)
83  INLINE_DEF_FLOAT_SYMBOL(floorf, 1)
84  INLINE_DEF_FLOAT_SYMBOL(fmodf, 2)
85  INLINE_DEF_FLOAT_SYMBOL(logf, 1)
86  INLINE_DEF_FLOAT_SYMBOL(powf, 2)
87  INLINE_DEF_FLOAT_SYMBOL(sinf, 1)
88  INLINE_DEF_FLOAT_SYMBOL(sinhf, 1)
89  INLINE_DEF_FLOAT_SYMBOL(sqrtf, 1)
90  INLINE_DEF_FLOAT_SYMBOL(tanf, 1)
91  INLINE_DEF_FLOAT_SYMBOL(tanhf, 1)
92
93  // These were added in VS 2013.
94#if (1800 <= _MSC_VER && _MSC_VER < 1900)
95  INLINE_DEF_FLOAT_SYMBOL(copysignf, 2)
96  INLINE_DEF_FLOAT_SYMBOL(fminf, 2)
97  INLINE_DEF_FLOAT_SYMBOL(fmaxf, 2)
98#endif
99#undef INLINE_DEF_FLOAT_SYMBOL
100#endif
101
102#endif
103