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.23-550-gbe4830b
- From: aurel32 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Jul 2016 09:29:22 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.23-550-gbe4830b
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 be4830bf94e1159b00c4cc97c084c6e4765a61ae (commit)
via 6bcc7ced4fd417e8f65b9b8f50ad7010c3549d9f (commit)
from d461c9682d4954076f9ee9e07be903c2eef8e73b (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=be4830bf94e1159b00c4cc97c084c6e4765a61ae
commit be4830bf94e1159b00c4cc97c084c6e4765a61ae
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Fri Jul 8 11:24:34 2016 +0200
Define __USE_KERNEL_IPV6_DEFS macro for non-Linux kernels
Commit 1c1e7fb6 changed the __USE_KERNEL_IPV6_DEFS tests from 'ifdef'
to 'if'. As inet/netinet.in.h is a generic file, this causes a warning
on non-Linux kernels (for example Hurd). To fix that define it in the
generic bits/in.h file.
Changelog:
* bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
diff --git a/ChangeLog b/ChangeLog
index a7a875c..e071751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
+ * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
+
+2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
+
[BZ #20240]
* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
(CFLAGS-s_modf-ppc32.c): New variable.
diff --git a/bits/in.h b/bits/in.h
index d517115..7dc93c1 100644
--- a/bits/in.h
+++ b/bits/in.h
@@ -21,6 +21,9 @@
# error "Never use <bits/in.h> directly; include <netinet/in.h> instead."
#endif
+/* This is the generic version, do not assume a linux-based kernel. */
+#define __USE_KERNEL_IPV6_DEFS 0
+
/* To select the IP level. */
#define SOL_IP 0
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6bcc7ced4fd417e8f65b9b8f50ad7010c3549d9f
commit 6bcc7ced4fd417e8f65b9b8f50ad7010c3549d9f
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Fri Jul 8 11:24:34 2016 +0200
ppc: Fix modf (sNaN) for pre-POWER5+ CPU (bug 20240).
Commit a6a4395d fixed modf implementation by compiling s_modf.c and
s_modff.c with -fsignaling-nans. However these files are also included
from the pre-POWER5+ implementation, and thus these files should also
be compiled with -fsignaling-nans.
Changelog:
[BZ #20240]
* sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
(CFLAGS-s_modf-ppc32.c): New variable.
(CFLAGS-s_modff-ppc32.c): Likewise.
* sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
(CFLAGS-s_modf-ppc64.c): Likewise.
(CFLAGS-s_modff-ppc64.c): Likewise.
diff --git a/ChangeLog b/ChangeLog
index 5e22584..a7a875c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
+
+ [BZ #20240]
+ * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
+ (CFLAGS-s_modf-ppc32.c): New variable.
+ (CFLAGS-s_modff-ppc32.c): Likewise.
+ * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
+ (CFLAGS-s_modf-ppc64.c): Likewise.
+ (CFLAGS-s_modff-ppc64.c): Likewise.
+
2016-07-07 Andreas Schwab <schwab@suse.de>
[BZ #20263]
diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
index 590a8eb..804e7dc 100644
--- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
+++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
@@ -34,4 +34,9 @@ CFLAGS-s_logb-power7.c = -mcpu=power7
CFLAGS-s_logbf-power7.c = -mcpu=power7
CFLAGS-e_hypot-power7.c = -mcpu=power7
CFLAGS-e_hypotf-power7.c = -mcpu=power7
+
+# These files quiet sNaNs in a way that is optimized away without
+# -fsignaling-nans.
+CFLAGS-s_modf-ppc32.c += -fsignaling-nans
+CFLAGS-s_modff-ppc32.c += -fsignaling-nans
endif
diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile b/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
index add1fb8..ff42288 100644
--- a/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
@@ -35,4 +35,9 @@ CFLAGS-s_modf-power5+.c = -mcpu=power5+
CFLAGS-s_modff-power5+.c = -mcpu=power5+
CFLAGS-e_hypot-power7.c = -mcpu=power7
CFLAGS-e_hypotf-power7.c = -mcpu=power7
+
+# These files quiet sNaNs in a way that is optimized away without
+# -fsignaling-nans.
+CFLAGS-s_modf-ppc64.c += -fsignaling-nans
+CFLAGS-s_modff-ppc64.c += -fsignaling-nans
endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 14 ++++++++++++++
bits/in.h | 3 +++
.../powerpc32/power4/fpu/multiarch/Makefile | 5 +++++
sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile | 5 +++++
4 files changed, 27 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources