Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch/sh3/string sh3 needs the __ffssi2 weak ...



details:   https://anonhg.NetBSD.org/src/rev/c84349ccbbfc
branches:  trunk
changeset: 766936:c84349ccbbfc
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 04 12:18:05 2011 +0000

description:
sh3 needs the __ffssi2 weak symbol, too.

diffstat:

 common/lib/libc/arch/sh3/string/ffs.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r eea602a84931 -r c84349ccbbfc common/lib/libc/arch/sh3/string/ffs.S
--- a/common/lib/libc/arch/sh3/string/ffs.S     Mon Jul 04 12:05:00 2011 +0000
+++ b/common/lib/libc/arch/sh3/string/ffs.S     Mon Jul 04 12:18:05 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs.S,v 1.2 2008/04/28 20:22:52 martin Exp $   */
+/*     $NetBSD: ffs.S,v 1.3 2011/07/04 12:18:05 mrg Exp $      */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: ffs.S,v 1.2 2008/04/28 20:22:52 martin Exp $")
+       RCSID("$NetBSD: ffs.S,v 1.3 2011/07/04 12:18:05 mrg Exp $")
 #endif
 
 /*
@@ -42,6 +42,7 @@
  * The remaining 8bit is tested in every 2bit.
  */
 
+WEAK_ALIAS(__ffssi2,ffs)
 ENTRY(ffs)
        mov     r4,r0           ! using r0 specific instructions
        tst     #0xff,r0



Home | Main Index | Thread Index | Old Index