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.
This commit is contained in:
Rich Felker
2012-07-22 18:55:01 -04:00
parent 75fff40b9b
commit dc046f55bb
3 changed files with 30 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
typedef unsigned long jmp_buf [30];
typedef unsigned long long jmp_buf [15];