diff --git a/ChangeLog b/ChangeLog index b40802afc2..fd958414d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-03-16 H.J. Lu + + * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under + [__LP64__]. + 2012-03-16 H.J. Lu * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ... diff --git a/sysdeps/x86_64/ffsll.c b/sysdeps/x86_64/ffsll.c index 2808770868..a7a5dc8583 100644 --- a/sysdeps/x86_64/ffsll.c +++ b/sysdeps/x86_64/ffsll.c @@ -1,7 +1,7 @@ /* ffsll -- find first set bit in a word, counted from least significant end. For AMD x86-64. This file is part of the GNU C Library. - Copyright (C) 1991,92,93,94,97,98,2001 Free Software Foundation, Inc. + Copyright (C) 1991-2012 Free Software Foundation, Inc. Contributed by Ulrich Drepper . The GNU C Library is free software; you can redistribute it and/or @@ -36,5 +36,7 @@ ffsll (long long int x) return cnt + 1; } +#ifdef __LP64__ #undef ffsl weak_alias (ffsll, ffsl) +#endif