diff options
author | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-21 16:11:39 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@ezchip.com> | 2014-12-21 17:12:54 -0500 |
commit | e969965afdeab1144ace665f28273f5f543923b2 (patch) | |
tree | b6e54aef374ef69895923a5b96f97214a1210040 /sysdeps/tile/ffs.c | |
parent | a19ca65ade935def1c687db905b0624189adc372 (diff) | |
download | glibc-e969965afdeab1144ace665f28273f5f543923b2.tar.gz glibc-e969965afdeab1144ace665f28273f5f543923b2.tar.xz glibc-e969965afdeab1144ace665f28273f5f543923b2.zip |
tile: separate ffsll from ffs
This avoids a linknamespace failure when ffs is legal but ffsll is not.
Diffstat (limited to 'sysdeps/tile/ffs.c')
-rw-r--r-- | sysdeps/tile/ffs.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sysdeps/tile/ffs.c b/sysdeps/tile/ffs.c index 3e52f8c6ef..24241e3dc1 100644 --- a/sysdeps/tile/ffs.c +++ b/sysdeps/tile/ffs.c @@ -30,16 +30,7 @@ weak_alias (__ffs, ffs) libc_hidden_def (__ffs) libc_hidden_builtin_def (ffs) -#undef ffsll -int -ffsll (long long x) -{ - return __builtin_ffsll (x); -} - -#undef ffsl #if ULONG_MAX == UINT_MAX +#undef ffsl weak_alias (__ffs, ffsl) -#else -weak_alias (ffsll, ffsl) #endif |