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.17-825-g18e5cc3


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  18e5cc3a828b21d1a40b8b5ec0c666e6e01c47de (commit)
      from  c411604296b4e8c0d678addd03bfda024d652a2e (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=18e5cc3a828b21d1a40b8b5ec0c666e6e01c47de

commit 18e5cc3a828b21d1a40b8b5ec0c666e6e01c47de
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Jun 18 00:35:03 2013 +0000

    Fix warnings from ARM soft-float fpu_control.h.

diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index c7e22cc..a901c6e 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,5 +1,10 @@
 2013-06-18  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/arm/fpu_control.h [!(_LIBC && !_LIBC_TEST) &&
+	__SOFTFP__] (_FPU_GETCW): Define to (cw) = 0.
+	[!(_LIBC && !_LIBC_TEST) && __SOFTFP__] (_FPU_SETCW): Define to
+	(void) (cw).
+
 	* sysdeps/arm/fpu_control.h [!_LIBC && __SOFTFP__]: Change
 	condition to [!(_LIBC && !_LIBC_TEST) && __SOFTFP__].
 	* sysdeps/arm/test-fpucw.c: New file.
diff --git a/ports/sysdeps/arm/fpu_control.h b/ports/sysdeps/arm/fpu_control.h
index 3ceb58b..513e694 100644
--- a/ports/sysdeps/arm/fpu_control.h
+++ b/ports/sysdeps/arm/fpu_control.h
@@ -24,8 +24,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

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

Summary of changes:
 ports/ChangeLog.arm             |    5 +++++
 ports/sysdeps/arm/fpu_control.h |    4 ++--
 2 files changed, 7 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]