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.18-797-g94d0cea
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Jan 2014 05:31:38 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.18-797-g94d0cea
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 94d0cea0ad2c225019736c2f18e1280eae50fa6c (commit)
from 5d29ccce66cc903fd9aa6e8f74c6be4dbc03d1f5 (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=94d0cea0ad2c225019736c2f18e1280eae50fa6c
commit 94d0cea0ad2c225019736c2f18e1280eae50fa6c
Author: Joseph Myers <joseph@codesourcery.com>
Date: Thu Jan 16 05:30:52 2014 +0000
Fix math/test-fpucw-*.c for sysdeps test-fpucw.c overrides.
ARM has an override of the test math/test-fpucw.c, to disable (for
soft-float testing) definitions of hard-float macros in fpu_control.h
that the header normally defines not only when building for
hard-float, but also when building for soft-float with _LIBC defined
so that libc code can dynamically test whether VFP hardware is
present. (_LIBC is defined when building tests, although ideally it
wouldn't be.)
The override doesn't work for the derived tests test-fpucw-*.c because
they use #include "" instead of <> to include test-fpucw.c, so always
get the math/ version instead of the ARM sysdeps override. This patch
changes them to use <> so the sysdeps override is effective.
(test-fpucw-ieee-static.c doesn't need a change because it includes
test-fpucw-ieee.c, which isn't itself being overridden, which in turn
includes test-fpucw.c with a #include changed by this patch.)
Tested for ARM (big-endian soft-float, non-VFP hardware).
* math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
* math/test-fpucw-static.c: Likewise.
diff --git a/ChangeLog b/ChangeLog
index a61bfde..69d8974 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-01-16 Joseph Myers <joseph@codesourcery.com>
+
+ * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
+ * math/test-fpucw-static.c: Likewise.
+
2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #16453]
diff --git a/math/test-fpucw-ieee.c b/math/test-fpucw-ieee.c
index b003526..b01d1c5 100644
--- a/math/test-fpucw-ieee.c
+++ b/math/test-fpucw-ieee.c
@@ -21,7 +21,7 @@
# define FPU_CONTROL _FPU_IEEE
#endif
-#include "test-fpucw.c"
+#include <test-fpucw.c>
/* Preempt the library's definition of `__fpu_control'. */
fpu_control_t __fpu_control = FPU_CONTROL;
diff --git a/math/test-fpucw-static.c b/math/test-fpucw-static.c
index bc1cfa8..74ec0cf 100644
--- a/math/test-fpucw-static.c
+++ b/math/test-fpucw-static.c
@@ -1 +1 @@
-#include "test-fpucw.c"
+#include <test-fpucw.c>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
math/test-fpucw-ieee.c | 2 +-
math/test-fpucw-static.c | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources