Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/string add a weak alias to __ffssi2, needed ...



details:   https://anonhg.NetBSD.org/src/rev/ea4a9aa044c4
branches:  trunk
changeset: 768043:ea4a9aa044c4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Aug 07 01:52:47 2011 +0000

description:
add a weak alias to __ffssi2, needed for hppa gcc 4.5.

diffstat:

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

diffs (26 lines):

diff -r 5dcfdeed2c9d -r ea4a9aa044c4 common/lib/libc/string/ffs.c
--- a/common/lib/libc/string/ffs.c      Sun Aug 07 01:49:12 2011 +0000
+++ b/common/lib/libc/string/ffs.c      Sun Aug 07 01:52:47 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs.c,v 1.3 2007/11/02 21:05:06 christos Exp $ */
+/*     $NetBSD: ffs.c,v 1.4 2011/08/07 01:52:47 mrg Exp $      */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)ffs.c      8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: ffs.c,v 1.3 2007/11/02 21:05:06 christos Exp $");
+__RCSID("$NetBSD: ffs.c,v 1.4 2011/08/07 01:52:47 mrg Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -53,6 +53,7 @@
 /*
  * ffs -- vax ffs instruction
  */
+__weak_alias(__ffssi2,ffs)
 int
 ffs(int mask)
 {



Home | Main Index | Thread Index | Old Index