summaryrefslogtreecommitdiffstats
path: root/arch/sh/lib/udivsi3-Os.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-11-20 07:26:35 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 10:42:54 +0100
commit9ef100287afa8e134de50258b8382cbc9d20f954 (patch)
tree592d0717548ac36144de9643014c1cf4bd54e31b /arch/sh/lib/udivsi3-Os.S
parentsh: Convert to generic bitops for IRQ-toggling implementation. (diff)
downloadlinux-9ef100287afa8e134de50258b8382cbc9d20f954.tar.xz
linux-9ef100287afa8e134de50258b8382cbc9d20f954.zip
sh: Add exports for __udivsi3/__sdivsi3 and the _i4 versions.
Needed by older compilers. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/lib/udivsi3-Os.S')
-rw-r--r--arch/sh/lib/udivsi3-Os.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/lib/udivsi3-Os.S b/arch/sh/lib/udivsi3-Os.S
index 2bed76587f1e..110c5ea769e0 100644
--- a/arch/sh/lib/udivsi3-Os.S
+++ b/arch/sh/lib/udivsi3-Os.S
@@ -40,7 +40,9 @@ Boston, MA 02110-1301, USA. */
of two more cycles. */
.balign 4
.global __udivsi3_i4i
+ .global __udivsi3_i4
.global __udivsi3
+ .set __udivsi3_i4, __udivsi3_i4i
.set __udivsi3, __udivsi3_i4i
.type __udivsi3_i4i, @function
.type __sdivsi3_i4i, @function
@@ -105,7 +107,9 @@ sdiv_large_divisor:
rotcl r0
.global __sdivsi3_i4i
+ .global __sdivsi3_i4
.global __sdivsi3
+ .set __sdivsi3_i4, __sdivsi3_i4i
.set __sdivsi3, __sdivsi3_i4i
__sdivsi3_i4i:
mov.l r4,@-r15