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.15-1161-g366af02
- From: tschwinge at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 9 Jun 2012 16:42:36 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-1161-g366af02
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 366af02c96eea0a03ccd2fa187819d866ac49ba2 (commit)
from 793ea8518ff2df20ecbb3fa1c4158b06b653a535 (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=366af02c96eea0a03ccd2fa187819d866ac49ba2
commit 366af02c96eea0a03ccd2fa187819d866ac49ba2
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Sat Jun 9 18:36:52 2012 +0200
SH: Do not re-write fpscr after reading it.
diff --git a/ChangeLog b/ChangeLog
index 174fb4a..5a67474 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
+
+ * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
+ reading it.
+ * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
+ * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
+
2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
diff --git a/sysdeps/sh/sh4/fpu/fegetenv.c b/sysdeps/sh/sh4/fpu/fegetenv.c
index ca7de16..cb3ca27 100644
--- a/sysdeps/sh/sh4/fpu/fegetenv.c
+++ b/sysdeps/sh/sh4/fpu/fegetenv.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment.
- Copyright (C) 1997, 1998, 1999, 2000, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 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
@@ -24,9 +24,6 @@ fegetenv (fenv_t *envp)
{
fpu_control_t temp;
_FPU_GETCW (temp);
- /* When read fpscr, this was initialized.
- We need to rewrite value of temp. */
- _FPU_SETCW (temp);
envp->__fpscr = temp;
diff --git a/sysdeps/sh/sh4/fpu/fegetexcept.c b/sysdeps/sh/sh4/fpu/fegetexcept.c
index a2faaac..038fe97 100644
--- a/sysdeps/sh/sh4/fpu/fegetexcept.c
+++ b/sysdeps/sh/sh4/fpu/fegetexcept.c
@@ -27,9 +27,6 @@ fegetexcept (void)
/* Get current exceptions. */
_FPU_GETCW (temp);
- /* When read fpscr, this was initialized.
- We need to rewrite value of temp. */
- _FPU_SETCW (temp);
return (temp >> 5) & FE_ALL_EXCEPT;
}
diff --git a/sysdeps/sh/sh4/fpu/fesetround.c b/sysdeps/sh/sh4/fpu/fesetround.c
index 4edf9c5..82e13b6 100644
--- a/sysdeps/sh/sh4/fpu/fesetround.c
+++ b/sysdeps/sh/sh4/fpu/fesetround.c
@@ -1,5 +1,5 @@
/* Set current rounding direction.
- Copyright (C) 1998, 2000, 2005, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1998-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@arthur.rhein-neckar.de>, 1998.
diff --git a/sysdeps/sh/sh4/fpu/fraiseexcpt.c b/sysdeps/sh/sh4/fpu/fraiseexcpt.c
index 729e8bf..974f192 100644
--- a/sysdeps/sh/sh4/fpu/fraiseexcpt.c
+++ b/sysdeps/sh/sh4/fpu/fraiseexcpt.c
@@ -1,5 +1,5 @@
/* Raise given exceptions.
- Copyright (C) 1997, 1998, 2000, 2002, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Nobuhiro Iwamatsu <iwamatsu@nigauri.org>, 2012.
diff --git a/sysdeps/sh/sh4/fpu/ftestexcept.c b/sysdeps/sh/sh4/fpu/ftestexcept.c
index c61af4c..8f09611 100644
--- a/sysdeps/sh/sh4/fpu/ftestexcept.c
+++ b/sysdeps/sh/sh4/fpu/ftestexcept.c
@@ -26,9 +26,6 @@ fetestexcept (int excepts)
/* Get current exceptions. */
_FPU_GETCW (temp);
- /* When read fpscr, this was initialized.
- We need to rewrite value of temp. */
- _FPU_SETCW (temp);
return temp & excepts & FE_ALL_EXCEPT;
}
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
sysdeps/sh/sh4/fpu/fegetenv.c | 5 +----
sysdeps/sh/sh4/fpu/fegetexcept.c | 3 ---
sysdeps/sh/sh4/fpu/fesetround.c | 2 +-
sysdeps/sh/sh4/fpu/fraiseexcpt.c | 2 +-
sysdeps/sh/sh4/fpu/ftestexcept.c | 3 ---
6 files changed, 10 insertions(+), 12 deletions(-)
hooks/post-receive
--
GNU C Library master sources