about summary refs log tree commit diff
path: root/sysdeps/mips/bits/setjmp.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-20 22:29:44 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-20 22:29:44 +0000
commitd20152e148cfba15486243d6ad312005e7ab7e32 (patch)
tree75eacf2f7560d8a2ac36df13a4c2be899c3e3754 /sysdeps/mips/bits/setjmp.h
parent4b5e1c5f0ef986ccf8a67ed44d701dc18f7d7a44 (diff)
downloadglibc-d20152e148cfba15486243d6ad312005e7ab7e32.tar.gz
glibc-d20152e148cfba15486243d6ad312005e7ab7e32.tar.xz
glibc-d20152e148cfba15486243d6ad312005e7ab7e32.zip
* sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs. * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust. * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
	* sysdeps/mips/bits/setjmp.h: n32 has only 6 call-saved fpregs.
	* sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Adjust.
	* sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
Diffstat (limited to 'sysdeps/mips/bits/setjmp.h')
-rw-r--r--sysdeps/mips/bits/setjmp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mips/bits/setjmp.h b/sysdeps/mips/bits/setjmp.h
index 562c13243c..b2ee3749dd 100644
--- a/sysdeps/mips/bits/setjmp.h
+++ b/sysdeps/mips/bits/setjmp.h
@@ -60,10 +60,10 @@ typedef struct
     int __fpc_csr;
 
     /* Callee-saved floating point registers.  */
-#if _MIPS_SIM == _MIPS_SIM_ABI32
-    double __fpregs[6];
-#else
+#if defined _ABI64 && _MIPS_SIM == _ABI64
     double __fpregs[8];
+#else
+    double __fpregs[6];
 #endif
   } __jmp_buf[1];