From dc046f55bbff5f79d022882723c73a6b9af0bf86 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 22 Jul 2012 18:55:01 -0400 Subject: add floating point register saving/restoring to mips setjmp/longjmp also fix the alignment of jmp_buf to meet the abi. linux always emulates fpu on mips if it's not present, so enabling this code unconditionally is "safe" but may be slow. in the long term it may be preferable to find a way to disable it on soft float builds. --- arch/mips/bits/setjmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips/bits') diff --git a/arch/mips/bits/setjmp.h b/arch/mips/bits/setjmp.h index c43ea2be..6bb15464 100644 --- a/arch/mips/bits/setjmp.h +++ b/arch/mips/bits/setjmp.h @@ -1 +1 @@ -typedef unsigned long jmp_buf [30]; +typedef unsigned long long jmp_buf [15]; -- cgit v1.2.3-70-g09d2