]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: Add exports for __udivsi3/__sdivsi3 and the _i4 versions.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 20 Nov 2008 06:26:35 +0000 (15:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:42:54 +0000 (18:42 +0900)
Needed by older compilers.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/sh_ksyms_32.c
arch/sh/lib/udivsi3-Os.S
arch/sh/lib/udivsi3.S

index 9c5ae7b9cd98fe5c61e90ca077aca78814d701c5..490c40218ed7718ce355ddcfb22df907da6531e9 100644 (file)
@@ -53,6 +53,8 @@ EXPORT_SYMBOL(__const_udelay);
 #define DECLARE_EXPORT(name)           \
        extern void name(void);EXPORT_SYMBOL(name)
 
+DECLARE_EXPORT(__udivsi3);
+DECLARE_EXPORT(__sdivsi3);
 DECLARE_EXPORT(__lshrsi3);
 DECLARE_EXPORT(__ashrsi3);
 DECLARE_EXPORT(__ashlsi3);
@@ -92,6 +94,8 @@ DECLARE_EXPORT(__movstr_i4_even);
 DECLARE_EXPORT(__movstr_i4_odd);
 DECLARE_EXPORT(__movstrSI12_i4);
 DECLARE_EXPORT(__udiv_qrnnd_16);
+DECLARE_EXPORT(__sdivsi3_i4);
+DECLARE_EXPORT(__udivsi3_i4);
 DECLARE_EXPORT(__sdivsi3_i4i);
 DECLARE_EXPORT(__udivsi3_i4i);
 
index 2bed76587f1e5419f40bd9d93b267820feacd00c..110c5ea769e0459f5f9a4e67640fadc6159b9f0f 100644 (file)
@@ -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
index a810fc6f21d5dcedbe874e16dc541db407fa5c30..388e15d7519357ce4efe7ce9433da3807829c700 100644 (file)
@@ -56,7 +56,9 @@ Boston, MA 02110-1301, USA.  */
 
        .balign 4
        .global __udivsi3_i4i
+       .global __udivsi3_i4
        .global __udivsi3
+       .set    __udivsi3_i4, __udivsi3_i4i
        .set    __udivsi3, __udivsi3_i4i
        .type   __udivsi3_i4i, @function
 __udivsi3_i4i:
@@ -174,7 +176,9 @@ div_r8_2:
        rotcl r0
 
        .global __sdivsi3_i4i
+       .global __sdivsi3_i4
        .global __sdivsi3
+       .set    __sdivsi3_i4, __sdivsi3_i4i
        .set    __sdivsi3, __sdivsi3_i4i
        .type   __sdivsi3_i4i, @function
        /* This is link-compatible with a __sdivsi3 call,