about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sys/ucontext.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b4353739be..64aba4a9f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
+	the size of the fpu_fr.fpu_dregs[] array.
+
 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
 
 	* posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
diff --git a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
index d9f1c0f1da..9496333d37 100644
--- a/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
+++ b/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
@@ -202,7 +202,7 @@ typedef struct fpu
   {
     union {				/* FPU floating point regs */
       unsigned		fpu_regs[32];	/* 32 singles */
-      double            fpu_dregs[16];	/* 32 doubles */
+      double            fpu_dregs[32];	/* 32 doubles */
       long double	fpu_qregs[16];  /* 16 quads */
     } fpu_fr;
     struct fq       *fpu_q;		/* ptr to array of FQ entries */