about summary refs log tree commit diff
path: root/ports/sysdeps/mips/__longjmp.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/__longjmp.c
parentc69f6af9e5a03620c253e75fd925d38adaa3c039 (diff)
downloadglibc-601eb33debf0c7548f52ba72cec4b3f362105e39.tar.gz
glibc-601eb33debf0c7548f52ba72cec4b3f362105e39.tar.xz
glibc-601eb33debf0c7548f52ba72cec4b3f362105e39.zip
Stop MIPS setjmp / longjmp saving / restoring floating-point flags (bug 14909).
Diffstat (limited to 'ports/sysdeps/mips/__longjmp.c')
-rw-r--r--ports/sysdeps/mips/__longjmp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ports/sysdeps/mips/__longjmp.c b/ports/sysdeps/mips/__longjmp.c
index 67bdb86cf8..d1d7d64dfa 100644
--- a/ports/sysdeps/mips/__longjmp.c
+++ b/ports/sysdeps/mips/__longjmp.c
@@ -47,10 +47,6 @@ ____longjmp (env_arg, val_arg)
   asm volatile ("l.d $f26, %0" : : "m" (env[0].__fpregs[3]));
   asm volatile ("l.d $f28, %0" : : "m" (env[0].__fpregs[4]));
   asm volatile ("l.d $f30, %0" : : "m" (env[0].__fpregs[5]));
-
-  /* Get and reconstruct the floating point csr.  */
-  asm volatile ("lw $2, %0" : : "m" (env[0].__fpc_csr));
-  asm volatile ("ctc1 $2, $31");
 #endif
 
   /* Get the GP. */