2 * GRUB -- GRand Unified Bootloader
3 * Copyright (C) 2004,2007,2009 Free Software Foundation, Inc.
5 * GRUB is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * GRUB is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
19 /* We need to include config-util.h.in for HAVE_*. */
20 #ifndef __STDC_VERSION__
21 #define __STDC_VERSION__ 0
23 #include <config-util.h>
25 /* On x86 these functions aren't really needed. Save some space. */
26 #if !defined (__i386__) && !defined (__x86_64__)
27 # ifdef HAVE___ASHLDI3
28 void EXPORT_FUNC (__ashldi3
) (void);
30 # ifdef HAVE___ASHRDI3
31 void EXPORT_FUNC (__ashrdi3
) (void);
33 # ifdef HAVE___LSHRDI3
34 void EXPORT_FUNC (__lshrdi3
) (void);
36 # ifdef HAVE___UCMPDI2
37 void EXPORT_FUNC (__ucmpdi2
) (void);
39 # ifdef HAVE___BSWAPSI2
40 void EXPORT_FUNC (__bswapsi2
) (void);
42 # ifdef HAVE___BSWAPDI2
43 void EXPORT_FUNC (__bswapdi2
) (void);
47 #ifdef HAVE__RESTGPR_14_X
48 void EXPORT_FUNC (_restgpr_14_x
) (void);
49 void EXPORT_FUNC (_restgpr_15_x
) (void);
50 void EXPORT_FUNC (_restgpr_16_x
) (void);
51 void EXPORT_FUNC (_restgpr_17_x
) (void);
52 void EXPORT_FUNC (_restgpr_18_x
) (void);
53 void EXPORT_FUNC (_restgpr_19_x
) (void);
54 void EXPORT_FUNC (_restgpr_20_x
) (void);
55 void EXPORT_FUNC (_restgpr_21_x
) (void);
56 void EXPORT_FUNC (_restgpr_22_x
) (void);
57 void EXPORT_FUNC (_restgpr_23_x
) (void);
58 void EXPORT_FUNC (_restgpr_24_x
) (void);
59 void EXPORT_FUNC (_restgpr_25_x
) (void);
60 void EXPORT_FUNC (_restgpr_26_x
) (void);
61 void EXPORT_FUNC (_restgpr_27_x
) (void);
62 void EXPORT_FUNC (_restgpr_28_x
) (void);
63 void EXPORT_FUNC (_restgpr_29_x
) (void);
64 void EXPORT_FUNC (_restgpr_30_x
) (void);
65 void EXPORT_FUNC (_restgpr_31_x
) (void);
66 void EXPORT_FUNC (_savegpr_14
) (void);
67 void EXPORT_FUNC (_savegpr_15
) (void);
68 void EXPORT_FUNC (_savegpr_16
) (void);
69 void EXPORT_FUNC (_savegpr_17
) (void);
70 void EXPORT_FUNC (_savegpr_18
) (void);
71 void EXPORT_FUNC (_savegpr_19
) (void);
72 void EXPORT_FUNC (_savegpr_20
) (void);
73 void EXPORT_FUNC (_savegpr_21
) (void);
74 void EXPORT_FUNC (_savegpr_22
) (void);
75 void EXPORT_FUNC (_savegpr_23
) (void);
76 void EXPORT_FUNC (_savegpr_24
) (void);
77 void EXPORT_FUNC (_savegpr_25
) (void);
78 void EXPORT_FUNC (_savegpr_26
) (void);
79 void EXPORT_FUNC (_savegpr_27
) (void);
80 void EXPORT_FUNC (_savegpr_28
) (void);
81 void EXPORT_FUNC (_savegpr_29
) (void);
82 void EXPORT_FUNC (_savegpr_30
) (void);
83 void EXPORT_FUNC (_savegpr_31
) (void);
87 void EXPORT_FUNC (__aeabi_lasr
) (void);
88 void EXPORT_FUNC (__aeabi_llsl
) (void);
89 void EXPORT_FUNC (__aeabi_llsr
) (void);
90 void EXPORT_FUNC (__aeabi_ulcmp
) (void);