libgcc.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * GRUB -- GRand Unified Bootloader
  3. * Copyright (C) 2004,2007,2009 Free Software Foundation, Inc.
  4. *
  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.
  9. *
  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.
  14. *
  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/>.
  17. */
  18. #include <config.h>
  19. /* On x86 these functions aren't really needed. Save some space. */
  20. #if !defined (__i386__) && !defined (__x86_64__)
  21. # ifdef HAVE___ASHLDI3
  22. void EXPORT_FUNC (__ashldi3) (void);
  23. # endif
  24. # ifdef HAVE___ASHRDI3
  25. void EXPORT_FUNC (__ashrdi3) (void);
  26. # endif
  27. # ifdef HAVE___LSHRDI3
  28. void EXPORT_FUNC (__lshrdi3) (void);
  29. # endif
  30. # ifdef HAVE___UCMPDI2
  31. void EXPORT_FUNC (__ucmpdi2) (void);
  32. # endif
  33. # ifdef HAVE___BSWAPSI2
  34. void EXPORT_FUNC (__bswapsi2) (void);
  35. # endif
  36. # ifdef HAVE___BSWAPDI2
  37. void EXPORT_FUNC (__bswapdi2) (void);
  38. # endif
  39. #endif
  40. #ifdef HAVE___TRAMPOLINE_SETUP
  41. void EXPORT_FUNC (__trampoline_setup) (void);
  42. #endif
  43. #ifdef HAVE__RESTGPR_14_X
  44. void EXPORT_FUNC (_restgpr_14_x) (void);
  45. void EXPORT_FUNC (_restgpr_15_x) (void);
  46. void EXPORT_FUNC (_restgpr_16_x) (void);
  47. void EXPORT_FUNC (_restgpr_17_x) (void);
  48. void EXPORT_FUNC (_restgpr_18_x) (void);
  49. void EXPORT_FUNC (_restgpr_19_x) (void);
  50. void EXPORT_FUNC (_restgpr_20_x) (void);
  51. void EXPORT_FUNC (_restgpr_21_x) (void);
  52. void EXPORT_FUNC (_restgpr_22_x) (void);
  53. void EXPORT_FUNC (_restgpr_23_x) (void);
  54. void EXPORT_FUNC (_restgpr_24_x) (void);
  55. void EXPORT_FUNC (_restgpr_25_x) (void);
  56. void EXPORT_FUNC (_restgpr_26_x) (void);
  57. void EXPORT_FUNC (_restgpr_27_x) (void);
  58. void EXPORT_FUNC (_restgpr_28_x) (void);
  59. void EXPORT_FUNC (_restgpr_29_x) (void);
  60. void EXPORT_FUNC (_restgpr_30_x) (void);
  61. void EXPORT_FUNC (_restgpr_31_x) (void);
  62. void EXPORT_FUNC (_savegpr_14) (void);
  63. void EXPORT_FUNC (_savegpr_15) (void);
  64. void EXPORT_FUNC (_savegpr_16) (void);
  65. void EXPORT_FUNC (_savegpr_17) (void);
  66. void EXPORT_FUNC (_savegpr_18) (void);
  67. void EXPORT_FUNC (_savegpr_19) (void);
  68. void EXPORT_FUNC (_savegpr_20) (void);
  69. void EXPORT_FUNC (_savegpr_21) (void);
  70. void EXPORT_FUNC (_savegpr_22) (void);
  71. void EXPORT_FUNC (_savegpr_23) (void);
  72. void EXPORT_FUNC (_savegpr_24) (void);
  73. void EXPORT_FUNC (_savegpr_25) (void);
  74. void EXPORT_FUNC (_savegpr_26) (void);
  75. void EXPORT_FUNC (_savegpr_27) (void);
  76. void EXPORT_FUNC (_savegpr_28) (void);
  77. void EXPORT_FUNC (_savegpr_29) (void);
  78. void EXPORT_FUNC (_savegpr_30) (void);
  79. void EXPORT_FUNC (_savegpr_31) (void);
  80. #endif