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.27.9000-57-ga85b70d
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 10 Feb 2018 01:52:55 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-57-ga85b70d
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 a85b70dbd2efb84123dcfb7a2131b2de81b59b6a (commit)
from 6a1ff640dcec04905d8518983ad6252d38b7a733 (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=a85b70dbd2efb84123dcfb7a2131b2de81b59b6a
commit a85b70dbd2efb84123dcfb7a2131b2de81b59b6a
Author: Joseph Myers <joseph@codesourcery.com>
Date: Sat Feb 10 01:52:33 2018 +0000
Fix narrowing function tests build for powerpc64le.
Testing narrowing functions with build-many-glibcs.py showed up a
further testsuite fix needed to enable building such functions for
powerpc64le: tests test-<narrower-type>-float128-<function> (and
likewise for float64x) needed the same special handling for
powerpc64le as test-float128-* and test-float64x-*. This patch adds
that special handling.
Tested with build-many-glibcs.py for powerpc64le in conjunction with
the main patch adding narrowing add functions.
* sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
(f128-pairs): New variable.
[$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
to CFLAGS.
[$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
Also make tests add $(f128-loader-link) to gnulib-tests.
diff --git a/ChangeLog b/ChangeLog
index 1a0ed9d..a6272b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2018-02-10 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
+ (f128-pairs): New variable.
+ [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
+ pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
+ to CFLAGS.
+ [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
+ Also make tests add $(f128-loader-link) to gnulib-tests.
+
2018-02-09 DJ Delorie <dj@redhat.com>
[BZ #22827]
diff --git a/sysdeps/powerpc/powerpc64le/Makefile b/sysdeps/powerpc/powerpc64le/Makefile
index 01957b4..14d39e2 100644
--- a/sysdeps/powerpc/powerpc64le/Makefile
+++ b/sysdeps/powerpc/powerpc64le/Makefile
@@ -17,6 +17,11 @@ $(foreach suf,$(all-object-suffixes),$(objpfx)test-float128%$(suf)): CFLAGS += -
$(foreach suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf)): CFLAGS += -mfloat128
$(foreach suf,$(all-object-suffixes),$(objpfx)test-ifloat128%$(suf)): CFLAGS += -mfloat128
$(foreach suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf)): CFLAGS += -mfloat128
+# Pairs of types with _Float128 / _Float64x as the wider type but not
+# the narrower one.
+f128-pairs = float32-float64x float32-float128 float64-float64x \
+ float64-float128 float32x-float64x float32x-float128
+$(foreach suf,$(all-object-suffixes),$(foreach pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf))): CFLAGS += -mfloat128
CFLAGS-libm-test-support-float128.c += -mfloat128
CFLAGS-libm-test-support-float64x.c += -mfloat128
CFLAGS-test-math-iscanonical.cc += -mfloat128
@@ -25,6 +30,7 @@ CFLAGS-test-math-issignaling.cc += -mfloat128
CFLAGS-test-math-iszero.cc += -mfloat128
$(foreach test, \
test-float128% test-ifloat128% test-float64x% test-ifloat64x% \
+ $(foreach pair,$(f128-pairs),test-$(pair)%) \
test-math-iscanonical test-math-iseqsig test-math-issignaling \
test-math-iszero, \
$(objpfx)$(test)): \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 10 ++++++++++
sysdeps/powerpc/powerpc64le/Makefile | 6 ++++++
2 files changed, 16 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources