Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5711/arch/vax/lib
Modified Files:
udiv.S urem.S
Log Message:
Sometimes GCC calls them __urem and __udiv, and sometimes it's
__umodsi3 and __udivsi3. Support both.
Index: urem.S
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/lib/urem.S,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- urem.S 26 Sep 2005 20:42:41 -0000 1.3
+++ urem.S 11 Oct 2005 07:46:17 -0000 1.4
@@ -49,6 +49,7 @@
#define DIVISOR 8(%ap)
ENTRY(__urem)
+ENTRY(__umodsi3)
.word 0x0004 # save R2
movl DIVISOR,%r2
jlss Leasy # big divisor: settle by comparison
Index: udiv.S
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/lib/udiv.S,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- udiv.S 26 Sep 2005 20:42:41 -0000 1.3
+++ udiv.S 11 Oct 2005 07:46:17 -0000 1.4
@@ -50,6 +50,7 @@
#define DIVISOR 8(%ap)
ENTRY(__udiv)
+ENTRY(__udivsi3)
.word 0x0004 # save R2
movl DIVISOR,%r2
jlss Leasy # big divisor: settle by comparison
|