[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6157 - in /fsf/trunk/ports: ChangeLog.hppa sysdeps/hppa/fpu/fesetenv.c
- To: commits@xxxxxxxxxx
- Subject: [commits] r6157 - in /fsf/trunk/ports: ChangeLog.hppa sysdeps/hppa/fpu/fesetenv.c
- From: eglibc@xxxxxxxxxx
- Date: Tue, 13 May 2008 07:08:24 -0000
Author: eglibc
Date: Tue May 13 00:08:24 2008
New Revision: 6157
Log:
Import glibc-ports-mainline for 2008-05-13
Modified:
fsf/trunk/ports/ChangeLog.hppa
fsf/trunk/ports/sysdeps/hppa/fpu/fesetenv.c
Modified: fsf/trunk/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/ports/ChangeLog.hppa (original)
+++ fsf/trunk/ports/ChangeLog.hppa Tue May 13 00:08:24 2008
@@ -1,3 +1,9 @@
+2008-05-12 Aurelien Jarno <aurelien@xxxxxxxxxxx>
+
+ [BZ #6506]
+ * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
+ read while writing back status word.
+
2008-04-21 Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
Modified: fsf/trunk/ports/sysdeps/hppa/fpu/fesetenv.c
==============================================================================
--- fsf/trunk/ports/sysdeps/hppa/fpu/fesetenv.c (original)
+++ fsf/trunk/ports/sysdeps/hppa/fpu/fesetenv.c Tue May 13 00:08:24 2008
@@ -35,7 +35,7 @@
bufptr = temp.buf;
__asm__ (
"fstd,ma %%fr0,8(%1)\n"
- : "=m" (temp), "+r" (bufptr) : : "%r0");
+ : "=m" (temp) : "r" (bufptr) : "%r0");
temp.env.__status_word &= ~(FE_ALL_EXCEPT
| (FE_ALL_EXCEPT << 27)
@@ -56,7 +56,7 @@
is loaded last and T-Bit is enabled. */
__asm__ (
"fldd,mb -8(%1),%%fr0\n"
- : "=m" (temp), "+r" (bufptr) : : "%r0" );
+ : : "m" (temp), "r" (bufptr) : "%r0" );
/* Success. */
return 0;