From: Ulrich Drepper Date: Thu, 30 Jul 1998 12:44:22 +0000 (+0000) Subject: Add ffsl entry point. X-Git-Tag: glibc-2.16-ports-merge^2~3159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f2e7413870a5c21b396edc142a81eb23ea04db16;p=platform%2Fupstream%2Fglibc.git Add ffsl entry point. --- diff --git a/sysdeps/m68k/ffs.c b/sysdeps/m68k/ffs.c index d30bd9d..bed3f46 100644 --- a/sysdeps/m68k/ffs.c +++ b/sysdeps/m68k/ffs.c @@ -1,7 +1,7 @@ /* ffs -- find first set bit in a word, counted from least significant end. For mc68020, mc68030, mc68040. This file is part of the GNU C Library. - Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc. Contributed by Torbjorn Granlund (tege@sics.se). The GNU C Library is free software; you can redistribute it and/or @@ -19,6 +19,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define ffsl __something_else #include #undef ffs @@ -36,6 +37,8 @@ __ffs (x) return 32 - cnt; } weak_alias (__ffs, ffs) +#undef ffsl +weak_alias (__ffs, ffsl) #else