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.16-ports-merge-832-g0993dd9
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Dec 2012 22:07:24 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.16-ports-merge-832-g0993dd9
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 0993dd9b0c61965d426287ca66b57cd2c6301bc0 (commit)
from 9003570a4999e2cb35e69144356af4a59b9821e0 (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://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0993dd9b0c61965d426287ca66b57cd2c6301bc0
commit 0993dd9b0c61965d426287ca66b57cd2c6301bc0
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Dec 4 22:07:03 2012 +0000
Fix warnings from MIPS soft-float _FPU_GETCW.
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index b996ea6..d4d19ea 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,10 @@
+2012-12-04 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/mips/fpu_control.h [__mips_soft_float] (_FPU_GETCW):
+ Define to set cw to 0, now just to plain "0" as a statement.
+ [__mips_soft_float] (_FPU_SETCW): Define to (void) (cw), rather
+ than doing nothing with cw.
+
2012-11-30 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/mips32/libm-test-ulps: Update.
diff --git a/ports/sysdeps/mips/fpu_control.h b/ports/sysdeps/mips/fpu_control.h
index 7307d03..acf794c 100644
--- a/ports/sysdeps/mips/fpu_control.h
+++ b/ports/sysdeps/mips/fpu_control.h
@@ -1,6 +1,5 @@
/* FPU control word bits. Mips version.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2006, 2008
- Free Software Foundation, Inc.
+ Copyright (C) 1996-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Olaf Flebbe and Ralf Baechle.
@@ -63,8 +62,8 @@
#define _FPU_RESERVED 0xffffffff
#define _FPU_DEFAULT 0x00000000
typedef unsigned int fpu_control_t;
-#define _FPU_GETCW(cw) 0
-#define _FPU_SETCW(cw) do { } while (0)
+#define _FPU_GETCW(cw) (cw) = 0
+#define _FPU_SETCW(cw) (void) (cw)
extern fpu_control_t __fpu_control;
#else /* __mips_soft_float */
-----------------------------------------------------------------------
Summary of changes:
ports/ChangeLog.mips | 7 +++++++
ports/sysdeps/mips/fpu_control.h | 7 +++----
2 files changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources