1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/module.h>
3 #include <linux/linkage.h>
6 * libgcc functions - functions that are used internally by the
7 * compiler... (prototypes are not correct though, but that
8 * doesn't really matter since they're not versioned).
10 asmlinkage
long __ucmpdi2(long long, long long);
11 asmlinkage
long long __ashldi3(long long, int);
12 asmlinkage
long long __ashrdi3(long long, int);
13 asmlinkage
long long __lshrdi3(long long, int);
14 asmlinkage
long __divsi3(long, long);
15 asmlinkage
long __modsi3(long, long);
16 asmlinkage
unsigned long __umodsi3(unsigned long, unsigned long);
17 asmlinkage
long long __muldi3(long long, long long);
18 asmlinkage
long __mulsi3(long, long);
19 asmlinkage
long __udivsi3(long, long);
20 asmlinkage
void *memcpy(void *, const void *, size_t);
21 asmlinkage
void *memset(void *, int, size_t);
22 asmlinkage
long strncpy_from_user(void *to
, void *from
, size_t n
);
24 /* gcc lib functions */
25 EXPORT_SYMBOL(__ucmpdi2
);
26 EXPORT_SYMBOL(__ashldi3
);
27 EXPORT_SYMBOL(__ashrdi3
);
28 EXPORT_SYMBOL(__lshrdi3
);
29 EXPORT_SYMBOL(__divsi3
);
30 EXPORT_SYMBOL(__modsi3
);
31 EXPORT_SYMBOL(__umodsi3
);
32 EXPORT_SYMBOL(__muldi3
);
33 EXPORT_SYMBOL(__mulsi3
);
34 EXPORT_SYMBOL(__udivsi3
);
35 EXPORT_SYMBOL(memcpy
);
36 EXPORT_SYMBOL(memset
);
37 EXPORT_SYMBOL(strncpy_from_user
);