This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.17-457-gb5784d9
- From: azanella at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 21 Mar 2013 17:17:51 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-457-gb5784d9
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via b5784d95bb94eda59b08aca735406908e209f638 (commit)
from bdef0be784c57c6e01a64933a167f29b2bd0cd6e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b5784d95bb94eda59b08aca735406908e209f638
commit b5784d95bb94eda59b08aca735406908e209f638
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Date: Thu Mar 21 14:15:45 2013 -0300
PowerPC: fix sqrtl ABI issue
This patch fixes a sqrtl ABI issue when building for powerpc64.
diff --git a/ChangeLog b/ChangeLog
index dadbd21..9f4aba1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
+
+ * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
+ symbol.
+
2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
* math/gen-libm-test.pl (parse_args, special_functions): Properly
diff --git a/sysdeps/powerpc/fpu/w_sqrt.c b/sysdeps/powerpc/fpu/w_sqrt.c
index 2488ad9..70f28dd 100644
--- a/sysdeps/powerpc/fpu/w_sqrt.c
+++ b/sysdeps/powerpc/fpu/w_sqrt.c
@@ -19,6 +19,7 @@
#include <math.h>
#include <math_private.h>
#include <fenv_libc.h>
+#include <math_ldbl_opt.h>
double
__sqrt (double x) /* wrapper sqrt */
@@ -42,3 +43,6 @@ weak_alias (__sqrt, sqrt)
#ifdef NO_LONG_DOUBLE
strong_alias (__sqrt, __sqrtl) weak_alias (__sqrt, sqrtl)
#endif
+#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
+compat_symbol (libm, __sqrt, sqrtl, GLIBC_2_0);
+#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/powerpc/fpu/w_sqrt.c | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources