arcksyms.c 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * arcksyms.c - Exporting symbols not exportable from their own sources
  3. *
  4. * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. *
  10. */
  11. #include <linux/module.h>
  12. /* libgcc functions, not part of kernel sources */
  13. extern void __ashldi3(void);
  14. extern void __ashrdi3(void);
  15. extern void __divsi3(void);
  16. extern void __divsf3(void);
  17. extern void __lshrdi3(void);
  18. extern void __modsi3(void);
  19. extern void __muldi3(void);
  20. extern void __ucmpdi2(void);
  21. extern void __udivsi3(void);
  22. extern void __umodsi3(void);
  23. extern void __cmpdi2(void);
  24. extern void __fixunsdfsi(void);
  25. extern void __muldf3(void);
  26. extern void __divdf3(void);
  27. extern void __floatunsidf(void);
  28. extern void __floatunsisf(void);
  29. EXPORT_SYMBOL(__ashldi3);
  30. EXPORT_SYMBOL(__ashrdi3);
  31. EXPORT_SYMBOL(__divsi3);
  32. EXPORT_SYMBOL(__divsf3);
  33. EXPORT_SYMBOL(__lshrdi3);
  34. EXPORT_SYMBOL(__modsi3);
  35. EXPORT_SYMBOL(__muldi3);
  36. EXPORT_SYMBOL(__ucmpdi2);
  37. EXPORT_SYMBOL(__udivsi3);
  38. EXPORT_SYMBOL(__umodsi3);
  39. EXPORT_SYMBOL(__cmpdi2);
  40. EXPORT_SYMBOL(__fixunsdfsi);
  41. EXPORT_SYMBOL(__muldf3);
  42. EXPORT_SYMBOL(__divdf3);
  43. EXPORT_SYMBOL(__floatunsidf);
  44. EXPORT_SYMBOL(__floatunsisf);
  45. /* ARC optimised assembler routines */
  46. EXPORT_SYMBOL(memset);
  47. EXPORT_SYMBOL(memcpy);
  48. EXPORT_SYMBOL(memcmp);
  49. EXPORT_SYMBOL(strchr);
  50. EXPORT_SYMBOL(strcpy);
  51. EXPORT_SYMBOL(strcmp);
  52. EXPORT_SYMBOL(strlen);