nios2_ksyms.c 879 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (C) 2004 Microtronix Datacom Ltd
  3. *
  4. * This file is subject to the terms and conditions of the GNU General
  5. * Public License. See the file COPYING in the main directory of this
  6. * archive for more details.
  7. */
  8. #include <linux/export.h>
  9. #include <linux/string.h>
  10. /* string functions */
  11. EXPORT_SYMBOL(memcpy);
  12. EXPORT_SYMBOL(memset);
  13. EXPORT_SYMBOL(memmove);
  14. /*
  15. * libgcc functions - functions that are used internally by the
  16. * compiler... (prototypes are not correct though, but that
  17. * doesn't really matter since they're not versioned).
  18. */
  19. #define DECLARE_EXPORT(name) extern void name(void); EXPORT_SYMBOL(name)
  20. DECLARE_EXPORT(__gcc_bcmp);
  21. DECLARE_EXPORT(__divsi3);
  22. DECLARE_EXPORT(__moddi3);
  23. DECLARE_EXPORT(__modsi3);
  24. DECLARE_EXPORT(__udivmoddi4);
  25. DECLARE_EXPORT(__udivsi3);
  26. DECLARE_EXPORT(__umoddi3);
  27. DECLARE_EXPORT(__umodsi3);
  28. DECLARE_EXPORT(__muldi3);