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, release/2.11/master, updated. glibc-2.11.2


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, release/2.11/master has been updated
       via  f2020c64596a90ca8d7d93afa1b8ad155d716f0e (commit)
       via  6be390f354c24eb6adf7c234f5b0beb4c657a6fd (commit)
      from  6d270188ef3fe10125b8723ed69ebdc9e90e914e (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=f2020c64596a90ca8d7d93afa1b8ad155d716f0e

commit f2020c64596a90ca8d7d93afa1b8ad155d716f0e
Author: Petr Baudis <pasky@ucw.cz>
Date:   Wed May 19 22:31:55 2010 +0200

    glibc 2.11.2 release

diff --git a/version.h b/version.h
index 3c51c9c..08933b6 100644
--- a/version.h
+++ b/version.h
@@ -1,4 +1,4 @@
 /* This file just defines the current version number of libc.  */
 
 #define RELEASE "stable"
-#define VERSION "2.11.1"
+#define VERSION "2.11.2"

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6be390f354c24eb6adf7c234f5b0beb4c657a6fd

commit 6be390f354c24eb6adf7c234f5b0beb4c657a6fd
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Wed May 12 10:18:26 2010 -0700

    Fix FP exception control.
    
    (cherry picked from commit 21a2b1aeeb9bbf49d76bac632327c19bc937d2d7)

diff --git a/ChangeLog b/ChangeLog
index 5e6a6b2..bb4e4d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
+
+	* sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
+	exceptions.  Return 0.
+
 2010-05-07  Roland McGrath  <roland@redhat.com>
 
 	* elf/ldconfig.c (main): Add a const.
diff --git a/sysdeps/sh/sh4/fpu/feholdexcpt.c b/sysdeps/sh/sh4/fpu/feholdexcpt.c
index 7aac5a0..87d6420 100644
--- a/sysdeps/sh/sh4/fpu/feholdexcpt.c
+++ b/sysdeps/sh/sh4/fpu/feholdexcpt.c
@@ -1,5 +1,6 @@
 /* Store current floating-point environment and clear exceptions.
-   Copyright (C) 1997, 1998, 1999, 2000, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999, 2000, 2005, 2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,10 +30,15 @@ feholdexcept (fenv_t *envp)
   _FPU_GETCW (temp);
   envp->__fpscr = temp;
 
-  /* Now set all exceptions to non-stop.  */
+  /* Clear the status flags.  */
   temp &= ~FE_ALL_EXCEPT;
+
+  /* Now set all exceptions to non-stop.  */
+  temp &= ~(FE_ALL_EXCEPT << 5);
+
   _FPU_SETCW (temp);
 
-  return 1;
+  /* Success.  */
+  return 0;
 }
 libm_hidden_def (feholdexcept)

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

Summary of changes:
 ChangeLog                        |    5 +++++
 sysdeps/sh/sh4/fpu/feholdexcpt.c |   12 +++++++++---
 version.h                        |    2 +-
 3 files changed, 15 insertions(+), 4 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]