Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libkern/arch/sh3 add weak aliases for __sdivsi3_i4i ...



details:   https://anonhg.NetBSD.org/src/rev/681dec1bab6b
branches:  trunk
changeset: 766990:681dec1bab6b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 06 01:29:54 2011 +0000

description:
add weak aliases for __sdivsi3_i4i and __udivsi3_i4i.

diffstat:

 sys/lib/libkern/arch/sh3/sdivsi3.S |  5 +++--
 sys/lib/libkern/arch/sh3/udivsi3.S |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (52 lines):

diff -r b89340a758b8 -r 681dec1bab6b sys/lib/libkern/arch/sh3/sdivsi3.S
--- a/sys/lib/libkern/arch/sh3/sdivsi3.S        Wed Jul 06 01:19:45 2011 +0000
+++ b/sys/lib/libkern/arch/sh3/sdivsi3.S        Wed Jul 06 01:29:54 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdivsi3.S,v 1.9 2009/01/07 22:15:18 uwe Exp $  */
+/*     $NetBSD: sdivsi3.S,v 1.10 2011/07/06 01:29:54 mrg Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: sdivsi3.S,v 1.9 2009/01/07 22:15:18 uwe Exp $")
+       RCSID("$NetBSD: sdivsi3.S,v 1.10 2011/07/06 01:29:54 mrg Exp $")
 #endif
 
 
@@ -46,6 +46,7 @@
 
 
 /* r0 <= r4 / r5 */
+WEAK_ALIAS(__sdivsi3_i4i,__sdivsi3)
 NENTRY(__sdivsi3)
        mov     r4, r0
        mov     r5, r1
diff -r b89340a758b8 -r 681dec1bab6b sys/lib/libkern/arch/sh3/udivsi3.S
--- a/sys/lib/libkern/arch/sh3/udivsi3.S        Wed Jul 06 01:19:45 2011 +0000
+++ b/sys/lib/libkern/arch/sh3/udivsi3.S        Wed Jul 06 01:29:54 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: udivsi3.S,v 1.8 2009/01/07 22:15:18 uwe Exp $  */
+/*     $NetBSD: udivsi3.S,v 1.9 2011/07/06 01:29:54 mrg Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: udivsi3.S,v 1.8 2009/01/07 22:15:18 uwe Exp $")
+       RCSID("$NetBSD: udivsi3.S,v 1.9 2011/07/06 01:29:54 mrg Exp $")
 #endif
 
 /*
@@ -65,6 +65,7 @@
 
 
 /* r0 <= r4 / r5 */
+WEAK_ALIAS(__udivsi3_i4i,__udivsi3)
 NENTRY(__udivsi3)
        tst     r5, r5
        bt      div_by_zero



Home | Main Index | Thread Index | Old Index