This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.18-407-ge186536


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  e186536b6fa8ceb004dfa1ba45766edcc871a95b (commit)
      from  5c3499508eca3929635ddce90749bfc8ca7d0763 (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=e186536b6fa8ceb004dfa1ba45766edcc871a95b

commit e186536b6fa8ceb004dfa1ba45766edcc871a95b
Author: Chris Metcalf <cmetcalf@tilera.com>
Date:   Mon Nov 18 13:27:09 2013 -0500

    test-fpucw-ieee: Don't use _FPU_IEEE if not defined
    
    Not all architectures define this value, and if they don't,
    just let the test run the same as test-fpucw, with __fpu_control
    set to _FPU_DEFAULT explicitly.

diff --git a/ChangeLog b/ChangeLog
index 4042e3b..b0ca6f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
+	Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
+
 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
 	* elf/Makefile (tst-auxv): New test.
diff --git a/math/test-fpucw-ieee.c b/math/test-fpucw-ieee.c
index ae5fc73..7596486 100644
--- a/math/test-fpucw-ieee.c
+++ b/math/test-fpucw-ieee.c
@@ -16,9 +16,12 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#define FPU_CONTROL _FPU_IEEE
+#ifdef _FPU_IEEE
+/* Some architectures don't have _FPU_IEEE.  */
+# define FPU_CONTROL _FPU_IEEE
+#endif
 
 #include "test-fpucw.c"
 
 /* Preempt the library's definition of `__fpu_control'.  */
-fpu_control_t __fpu_control = _FPU_IEEE;
+fpu_control_t __fpu_control = FPU_CONTROL;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog              |    5 +++++
 math/test-fpucw-ieee.c |    7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]