add floating point register saving/restoring to mips setjmp/longjmp
authorRich Felker <dalias@aerifal.cx>
Sun, 22 Jul 2012 22:55:01 +0000 (18:55 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 22 Jul 2012 22:55:01 +0000 (18:55 -0400)
commitdc046f55bbff5f79d022882723c73a6b9af0bf86
tree5dad3839830e12534d77443868a1fc410f898c21
parent75fff40b9b536e0e6847d17ecc076894ca7b7068
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
src/setjmp/mips/longjmp.s
src/setjmp/mips/setjmp.s