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.21-168-gfa9dda6
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 Mar 2015 00:37:28 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-168-gfa9dda6
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 fa9dda64932da5eec1b67eefafb3a03738bbc529 (commit)
from 4acc27ed0a83995ad687c69a3f3f11510e0796d7 (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=fa9dda64932da5eec1b67eefafb3a03738bbc529
commit fa9dda64932da5eec1b67eefafb3a03738bbc529
Author: Joseph Myers <joseph@codesourcery.com>
Date: Sat Mar 7 00:36:02 2015 +0000
soft-fp: Condition sfp-machine.h include path on __KERNEL__.
My Linux kernel patch to update the kernel to current glibc soft-fp
<https://sourceware.org/ml/libc-alpha/2015-02/msg00107.html> still
leaves a few small differences between the two copies of soft-fp.
I think it's desirable to avoid such differences completely if
possible by having one set of sources suitable for use in both places.
To that end, this patch introduces a conditional on __KERNEL__ for the
path by which sfp-machine.h is included.
Tested for powerpc-nofpu that installed stripped shared libraries are
unchanged by this patch.
* soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
<asm/sfp-machine.h> instead of <sfp-machine.h>.
diff --git a/ChangeLog b/ChangeLog
index 67780ac..eaccb2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-06 Joseph Myers <joseph@codesourcery.com>
+
+ * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
+ <asm/sfp-machine.h> instead of <sfp-machine.h>.
+
2015-03-06 Roland McGrath <roland@hack.frob.com>
* manual/install.texi (Configuring and compiling):
diff --git a/soft-fp/soft-fp.h b/soft-fp/soft-fp.h
index d0171e3..db94e0b 100644
--- a/soft-fp/soft-fp.h
+++ b/soft-fp/soft-fp.h
@@ -34,6 +34,10 @@
#ifdef _LIBC
# include <sfp-machine.h>
+#elif defined __KERNEL__
+/* The Linux kernel uses <asm/*.h> names for architecture-specific
+ files. */
+# include <asm/sfp-machine.h>
#else
# include "sfp-machine.h"
#endif
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
soft-fp/soft-fp.h | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources