xref: /openbmc/linux/arch/arc/kernel/arcksyms.c (revision eb3fcf00)
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 
32 EXPORT_SYMBOL(__ashldi3);
33 EXPORT_SYMBOL(__ashrdi3);
34 EXPORT_SYMBOL(__divsi3);
35 EXPORT_SYMBOL(__divsf3);
36 EXPORT_SYMBOL(__lshrdi3);
37 EXPORT_SYMBOL(__modsi3);
38 EXPORT_SYMBOL(__muldi3);
39 EXPORT_SYMBOL(__ucmpdi2);
40 EXPORT_SYMBOL(__udivsi3);
41 EXPORT_SYMBOL(__umodsi3);
42 EXPORT_SYMBOL(__cmpdi2);
43 EXPORT_SYMBOL(__fixunsdfsi);
44 EXPORT_SYMBOL(__muldf3);
45 EXPORT_SYMBOL(__divdf3);
46 EXPORT_SYMBOL(__floatunsidf);
47 EXPORT_SYMBOL(__floatunsisf);
48 
49 /* ARC optimised assembler routines */
50 EXPORT_SYMBOL(memset);
51 EXPORT_SYMBOL(memcpy);
52 EXPORT_SYMBOL(memcmp);
53 EXPORT_SYMBOL(strchr);
54 EXPORT_SYMBOL(strcpy);
55 EXPORT_SYMBOL(strcmp);
56 EXPORT_SYMBOL(strlen);
57