Module Name: src Committed By: mrg Date: Mon Jul 4 12:18:06 UTC 2011
Modified Files: src/common/lib/libc/arch/sh3/string: ffs.S Log Message: sh3 needs the __ffssi2 weak symbol, too. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/arch/sh3/string/ffs.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/arch/sh3/string/ffs.S diff -u src/common/lib/libc/arch/sh3/string/ffs.S:1.2 src/common/lib/libc/arch/sh3/string/ffs.S:1.3 --- src/common/lib/libc/arch/sh3/string/ffs.S:1.2 Mon Apr 28 20:22:52 2008 +++ src/common/lib/libc/arch/sh3/string/ffs.S Mon Jul 4 12:18:05 2011 @@ -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