xref: /openbmc/linux/arch/arc/kernel/arcksyms.c (revision 6d99a79c)
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 
12 #include <linux/module.h>
13 
14 /* libgcc functions, not part of kernel sources */
15 extern void __ashldi3(void);
16 extern void __ashrdi3(void);
17 extern void __divsi3(void);
18 extern void __divsf3(void);
19 extern void __lshrdi3(void);
20 extern void __modsi3(void);
21 extern void __muldi3(void);
22 extern void __ucmpdi2(void);
23 extern void __udivsi3(void);
24 extern void __umodsi3(void);
25 extern void __cmpdi2(void);
26 extern void __fixunsdfsi(void);
27 extern void __muldf3(void);
28 extern void __divdf3(void);
29 extern void __floatunsidf(void);
30 extern void __floatunsisf(void);
31 extern void __udivdi3(void);
32 
33 EXPORT_SYMBOL(__ashldi3);
34 EXPORT_SYMBOL(__ashrdi3);
35 EXPORT_SYMBOL(__divsi3);
36 EXPORT_SYMBOL(__divsf3);
37 EXPORT_SYMBOL(__lshrdi3);
38 EXPORT_SYMBOL(__modsi3);
39 EXPORT_SYMBOL(__muldi3);
40 EXPORT_SYMBOL(__ucmpdi2);
41 EXPORT_SYMBOL(__udivsi3);
42 EXPORT_SYMBOL(__umodsi3);
43 EXPORT_SYMBOL(__cmpdi2);
44 EXPORT_SYMBOL(__fixunsdfsi);
45 EXPORT_SYMBOL(__muldf3);
46 EXPORT_SYMBOL(__divdf3);
47 EXPORT_SYMBOL(__floatunsidf);
48 EXPORT_SYMBOL(__floatunsisf);
49 EXPORT_SYMBOL(__udivdi3);
50 
51 /* ARC optimised assembler routines */
52 EXPORT_SYMBOL(memset);
53 EXPORT_SYMBOL(memcpy);
54 EXPORT_SYMBOL(memcmp);
55 EXPORT_SYMBOL(strchr);
56 EXPORT_SYMBOL(strcpy);
57 EXPORT_SYMBOL(strcmp);
58 EXPORT_SYMBOL(strlen);
59