summaryrefslogtreecommitdiff
path: root/ports/sysdeps/mips/setjmp_aux.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-14 21:42:24 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-14 21:42:24 +0000
commit601eb33debf0c7548f52ba72cec4b3f362105e39 (patch)
tree417ce9870681af465ea79b12cbe85f0731ac6323 /ports/sysdeps/mips/setjmp_aux.c
parentc69f6af9e5a03620c253e75fd925d38adaa3c039 (diff)
Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909).
Diffstat (limited to 'ports/sysdeps/mips/setjmp_aux.c')
-rw-r--r--ports/sysdeps/mips/setjmp_aux.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ports/sysdeps/mips/setjmp_aux.c b/ports/sysdeps/mips/setjmp_aux.c
index cb9ea245bb..26715b77d8 100644
--- a/ports/sysdeps/mips/setjmp_aux.c
+++ b/ports/sysdeps/mips/setjmp_aux.c
@@ -58,11 +58,6 @@ __sigsetjmp_aux (jmp_buf env, int savemask, int sp, int fp)
asm volatile ("sw $22, %0" : : "m" (env[0].__jmpbuf[0].__regs[6]));
asm volatile ("sw $23, %0" : : "m" (env[0].__jmpbuf[0].__regs[7]));
-#ifdef __mips_hard_float
- /* .. and finally get and reconstruct the floating point csr. */
- asm ("cfc1 %0, $31" : "=r" (env[0].__jmpbuf[0].__fpc_csr));
-#endif
-
/* Save the signal mask if requested. */
return __sigjmp_save (env, savemask);
}