about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2014-11-01 13:45:02 -0700
committerDavid S. Miller <davem@davemloft.net>2014-11-01 13:45:02 -0700
commit4c6da7da9fb1f0f94e668e6d2966a4f50a7f0d85 (patch)
treeb4c569b1517037656dc53a811bd1632208962e4e
parent1679ba8eb6b55a612e15b50139cd2a7ffde61d43 (diff)
downloadglibc-4c6da7da9fb1f0f94e668e6d2966a4f50a7f0d85.tar.gz
glibc-4c6da7da9fb1f0f94e668e6d2966a4f50a7f0d85.tar.xz
glibc-4c6da7da9fb1f0f94e668e6d2966a4f50a7f0d85.zip
Fix sparc struct fpu definition.
	* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
	the size of the fpu_fr.fpu_dregs[] array.
-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 */