]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define x86-64 ffsl alias only if __LP64__ is defined
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Mar 2012 22:16:27 +0000 (15:16 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Mar 2012 22:20:45 +0000 (15:20 -0700)
ChangeLog
sysdeps/x86_64/ffsll.c

index b40802afc29f7a4338d64298587687a43a1e3e19..fd958414d195c95ee0d85dfacef422ed2e1bdb04 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
+       [__LP64__].
+
 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
index 2808770868d26ceb5fd1a0d5e0bd1c32d8c7a2ef..a7a5dc85834ce5e82873f7537f8b583abaa5f5b6 100644 (file)
@@ -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 <drepper@cygnus.com>.
 
    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