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.26.9000-866-gcf4ebc2
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 29 Nov 2017 23:09:34 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26.9000-866-gcf4ebc2
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 cf4ebc27fe3a66637c5fc8824d9591191786b5fd (commit)
from 0c0973788367b4ac42aace075a0598bc1c79b7dd (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=cf4ebc27fe3a66637c5fc8824d9591191786b5fd
commit cf4ebc27fe3a66637c5fc8824d9591191786b5fd
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Nov 29 23:09:03 2017 +0000
Fix missing sparcv9 --disable-multi-arch fabsl compat symbol (bug 22229).
The --disable-multi-arch case of sparcv9 libm is missing a fabsl
compat symbol for when long double had the same ABI as double. This
patch adds the missing compat symbol to this implementation. As my
fix for other instances of this missing compat symbol postdates the
last release, I'm considering this as being part of bug 22229 that was
missing from my previous fix rather than as a separate issue, and so
as not needing a new bug report in Bugzilla.
Tested (compilation only) with build-many-glibcs.py for
sparcv9-linux-gnu --disable-multi-arch.
[BZ #22229]
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
<math_ldbl_opt.h>.
(fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
diff --git a/ChangeLog b/ChangeLog
index 0cc5c42..a6c2a33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2017-11-29 Joseph Myers <joseph@codesourcery.com>
+ [BZ #22229]
+ * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
+ <math_ldbl_opt.h>.
+ (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
+
* scripts/build-many-glibcs.py (Context.add_all_configs): Add
SPARC --disable-multi-arch glibc variants.
diff --git a/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S b/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S
index bf51739..7161446 100644
--- a/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S
+++ b/sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <sysdep.h>
+#include <math_ldbl_opt.h>
ENTRY (__fabs)
st %o0, [%sp+72]
@@ -26,3 +27,6 @@ ENTRY (__fabs)
fabsd %f0, %f0
END (__fabs)
weak_alias (__fabs, fabs)
+#if LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)
+compat_symbol (libm, __fabs, fabsl, GLIBC_2_0);
+#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources