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/mips/string add a weak alias from ffs t...



details:   https://anonhg.NetBSD.org/src/rev/1f1c1584a3a2
branches:  trunk
changeset: 766929:1f1c1584a3a2
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 04 11:35:26 2011 +0000

description:
add a weak alias from ffs to __ffssi2.  newsmips kernels link now.

diffstat:

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

diffs (25 lines):

diff -r 338c380eeb5b -r 1f1c1584a3a2 common/lib/libc/arch/mips/string/ffs.S
--- a/common/lib/libc/arch/mips/string/ffs.S    Mon Jul 04 11:31:37 2011 +0000
+++ b/common/lib/libc/arch/mips/string/ffs.S    Mon Jul 04 11:35:26 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs.S,v 1.3 2011/01/23 06:47:14 matt Exp $     */
+/*     $NetBSD: ffs.S,v 1.4 2011/07/04 11:35:26 mrg Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -31,13 +31,14 @@
 
 #include <mips/asm.h>
 
-RCSID("$NetBSD: ffs.S,v 1.3 2011/01/23 06:47:14 matt Exp $")
+RCSID("$NetBSD: ffs.S,v 1.4 2011/07/04 11:35:26 mrg Exp $")
 
 /* bit = ffs(value) */
 
        .text
        .set    noreorder
 
+WEAK_ALIAS(__ffssi2,ffs)
 #if __mips == 64 || __mips == 32
 LEAF(ffs)
 #ifndef _LP64



Home | Main Index | Thread Index | Old Index