1 // SPDX-License-Identifier: GPL-2.0-only
3 * arcksyms.c - Exporting symbols not exportable from their own sources
5 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
8 #include <linux/module.h>
10 /* libgcc functions, not part of kernel sources */
11 extern void __ashldi3(void);
12 extern void __ashrdi3(void);
13 extern void __divsi3(void);
14 extern void __divsf3(void);
15 extern void __lshrdi3(void);
16 extern void __modsi3(void);
17 extern void __muldi3(void);
18 extern void __ucmpdi2(void);
19 extern void __udivsi3(void);
20 extern void __umodsi3(void);
21 extern void __cmpdi2(void);
22 extern void __fixunsdfsi(void);
23 extern void __muldf3(void);
24 extern void __divdf3(void);
25 extern void __floatunsidf(void);
26 extern void __floatunsisf(void);
27 extern void __udivdi3(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 EXPORT_SYMBOL(__udivdi3
);
47 /* ARC optimised assembler routines */
48 EXPORT_SYMBOL(memset
);
49 EXPORT_SYMBOL(memcpy
);
50 EXPORT_SYMBOL(memcmp
);
51 EXPORT_SYMBOL(strchr
);
52 EXPORT_SYMBOL(strcpy
);
53 EXPORT_SYMBOL(strcmp
);
54 EXPORT_SYMBOL(strlen
);