Module Name:src
Committed By: mrg
Date: Mon Jul 4 11:18:23 UTC 2011
Modified Files:
src/common/lib/libc/arch/sparc/string: ffs.S
Log Message:
add a weak alias from ffs to __ffssi2. sparc dynamic works with gcc 4.5 now.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/arch/sparc/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/sparc/string/ffs.S
diff -u src/common/lib/libc/arch/sparc/string/ffs.S:1.2 src/common/lib/libc/arch/sparc/string/ffs.S:1.3
--- src/common/lib/libc/arch/sparc/string/ffs.S:1.2 Sat Dec 19 19:09:48 2009
+++ src/common/lib/libc/arch/sparc/string/ffs.S Mon Jul 4 11:18:23 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs.S,v 1.2 2009/12/19 19:09:48 pooka Exp $ */
+/* $NetBSD: ffs.S,v 1.3 2011/07/04 11:18:23 mrg Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@
#if 0
.asciz @(#)ffs.s 8.1 (Berkeley) 6/4/93
#else
- RCSID($NetBSD: ffs.S,v 1.2 2009/12/19 19:09:48 pooka Exp $)
+ RCSID($NetBSD: ffs.S,v 1.3 2011/07/04 11:18:23 mrg Exp $)
#endif
#endif /* LIBC_SCCS and not lint */
@@ -58,6 +58,7 @@
* one, we just return the table value plus 24. This means
* that ffstab[0] must be -24 so that ffs(0) will return 0.
*/
+WEAK_ALIAS(__ffssi2,ffs)
ENTRY(ffs)
#ifdef PIC
PICCY_SET(ffstab, %o2, %o3)