about summary refs log tree commit diff
path: root/arch/mips
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-22 18:55:01 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-22 18:55:01 -0400
commitdc046f55bbff5f79d022882723c73a6b9af0bf86 (patch)
tree5dad3839830e12534d77443868a1fc410f898c21 /arch/mips
parent75fff40b9b536e0e6847d17ecc076894ca7b7068 (diff)
downloadmusl-dc046f55bbff5f79d022882723c73a6b9af0bf86.tar.gz
musl-dc046f55bbff5f79d022882723c73a6b9af0bf86.tar.xz
musl-dc046f55bbff5f79d022882723c73a6b9af0bf86.zip
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.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bits/setjmp.h2
1 files changed, 1 insertions, 1 deletions
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];