Commit 9ef10028 authored by Paul Mundt's avatar Paul Mundt

sh: Add exports for __udivsi3/__sdivsi3 and the _i4 versions.

Needed by older compilers.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 16b529d1
...@@ -53,6 +53,8 @@ EXPORT_SYMBOL(__const_udelay); ...@@ -53,6 +53,8 @@ EXPORT_SYMBOL(__const_udelay);
#define DECLARE_EXPORT(name) \ #define DECLARE_EXPORT(name) \
extern void name(void);EXPORT_SYMBOL(name) extern void name(void);EXPORT_SYMBOL(name)
DECLARE_EXPORT(__udivsi3);
DECLARE_EXPORT(__sdivsi3);
DECLARE_EXPORT(__lshrsi3); DECLARE_EXPORT(__lshrsi3);
DECLARE_EXPORT(__ashrsi3); DECLARE_EXPORT(__ashrsi3);
DECLARE_EXPORT(__ashlsi3); DECLARE_EXPORT(__ashlsi3);
...@@ -92,6 +94,8 @@ DECLARE_EXPORT(__movstr_i4_even); ...@@ -92,6 +94,8 @@ DECLARE_EXPORT(__movstr_i4_even);
DECLARE_EXPORT(__movstr_i4_odd); DECLARE_EXPORT(__movstr_i4_odd);
DECLARE_EXPORT(__movstrSI12_i4); DECLARE_EXPORT(__movstrSI12_i4);
DECLARE_EXPORT(__udiv_qrnnd_16); DECLARE_EXPORT(__udiv_qrnnd_16);
DECLARE_EXPORT(__sdivsi3_i4);
DECLARE_EXPORT(__udivsi3_i4);
DECLARE_EXPORT(__sdivsi3_i4i); DECLARE_EXPORT(__sdivsi3_i4i);
DECLARE_EXPORT(__udivsi3_i4i); DECLARE_EXPORT(__udivsi3_i4i);
......
...@@ -40,7 +40,9 @@ Boston, MA 02110-1301, USA. */ ...@@ -40,7 +40,9 @@ Boston, MA 02110-1301, USA. */
of two more cycles. */ of two more cycles. */
.balign 4 .balign 4
.global __udivsi3_i4i .global __udivsi3_i4i
.global __udivsi3_i4
.global __udivsi3 .global __udivsi3
.set __udivsi3_i4, __udivsi3_i4i
.set __udivsi3, __udivsi3_i4i .set __udivsi3, __udivsi3_i4i
.type __udivsi3_i4i, @function .type __udivsi3_i4i, @function
.type __sdivsi3_i4i, @function .type __sdivsi3_i4i, @function
...@@ -105,7 +107,9 @@ sdiv_large_divisor: ...@@ -105,7 +107,9 @@ sdiv_large_divisor:
rotcl r0 rotcl r0
.global __sdivsi3_i4i .global __sdivsi3_i4i
.global __sdivsi3_i4
.global __sdivsi3 .global __sdivsi3
.set __sdivsi3_i4, __sdivsi3_i4i
.set __sdivsi3, __sdivsi3_i4i .set __sdivsi3, __sdivsi3_i4i
__sdivsi3_i4i: __sdivsi3_i4i:
mov.l r4,@-r15 mov.l r4,@-r15
......
...@@ -56,7 +56,9 @@ Boston, MA 02110-1301, USA. */ ...@@ -56,7 +56,9 @@ Boston, MA 02110-1301, USA. */
.balign 4 .balign 4
.global __udivsi3_i4i .global __udivsi3_i4i
.global __udivsi3_i4
.global __udivsi3 .global __udivsi3
.set __udivsi3_i4, __udivsi3_i4i
.set __udivsi3, __udivsi3_i4i .set __udivsi3, __udivsi3_i4i
.type __udivsi3_i4i, @function .type __udivsi3_i4i, @function
__udivsi3_i4i: __udivsi3_i4i:
...@@ -174,7 +176,9 @@ div_r8_2: ...@@ -174,7 +176,9 @@ div_r8_2:
rotcl r0 rotcl r0
.global __sdivsi3_i4i .global __sdivsi3_i4i
.global __sdivsi3_i4
.global __sdivsi3 .global __sdivsi3
.set __sdivsi3_i4, __sdivsi3_i4i
.set __sdivsi3, __sdivsi3_i4i .set __sdivsi3, __sdivsi3_i4i
.type __sdivsi3_i4i, @function .type __sdivsi3_i4i, @function
/* This is link-compatible with a __sdivsi3 call, /* This is link-compatible with a __sdivsi3 call,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment