This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ia64: fpu: fix gammaf typo [BZ #15421] [committed]


The lgamma rewrite in commit d709042a6e5ab3c360280faad6f9538a34dc8eea
used "gammaf" in this function when it should have used "gamma".
---
 ChangeLog                        | 5 +++++
 sysdeps/ia64/fpu/w_lgamma_main.c | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f3f26d7..00a869c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-28  Mike Frysinger  <vapier@gentoo.org>
+
+	[BZ #15421]
+	* sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
+
 2015-12-23  Torvald Riegel  <triegel@redhat.com>
 
 	[BZ #13690]
diff --git a/sysdeps/ia64/fpu/w_lgamma_main.c b/sysdeps/ia64/fpu/w_lgamma_main.c
index 6deffad..0d93bde 100644
--- a/sysdeps/ia64/fpu/w_lgamma_main.c
+++ b/sysdeps/ia64/fpu/w_lgamma_main.c
@@ -63,11 +63,11 @@ double LGFUNC (lgamma) (double x)
     return CALL_LGAMMA (double, __libm_lgamma, x);
 }
 #if USE_AS_COMPAT
-compat_symbol (libm, __lgammaf_compat, lgammaf, LGAMMA_OLD_VER);
+compat_symbol (libm, __lgamma_compat, lgamma, LGAMMA_OLD_VER);
 #else
-versioned_symbol (libm, __ieee754_lgammaf, lgammaf, LGAMMA_NEW_VER);
+versioned_symbol (libm, __ieee754_lgamma, lgamma, LGAMMA_NEW_VER);
 #endif
 #if GAMMA_ALIAS
-strong_alias (LGFUNC (lgammaf), __ieee754_gammaf)
-weak_alias (__ieee754_gammaf, gammaf)
+strong_alias (LGFUNC (lgamma), __ieee754_gamma)
+weak_alias (__ieee754_gamma, gamma)
 #endif
-- 
2.6.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]