summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-08-01 09:46:33 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-08-01 09:46:33 +0000
commitfdc6c34ed3f39545a2519c781edc462d4659dbd9 (patch)
tree1d19782ac7cff301ab213bffa12334b65de279b2 /app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch
parentNew release (diff)
downloadgentoo-2-fdc6c34ed3f39545a2519c781edc462d4659dbd9.tar.gz
gentoo-2-fdc6c34ed3f39545a2519c781edc462d4659dbd9.tar.bz2
gentoo-2-fdc6c34ed3f39545a2519c781edc462d4659dbd9.zip
New version
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch')
-rw-r--r--app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch b/app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch
new file mode 100644
index 000000000000..f190f66d4ec5
--- /dev/null
+++ b/app-emulation/qemu-softmmu/files/qemu-0.8.2-sparc-fp.patch
@@ -0,0 +1,18 @@
+diff -urN qemu-0.8.2.old/target-sparc/op_helper.c qemu-0.8.2/target-sparc/op_helper.c
+--- qemu-0.8.2.old/target-sparc/op_helper.c 2006-07-22 19:23:34.000000000 +0200
++++ qemu-0.8.2/target-sparc/op_helper.c 2006-08-01 09:46:34.000000000 +0200
+@@ -12,12 +12,12 @@
+ #ifdef USE_INT_TO_FLOAT_HELPERS
+ void do_fitos(void)
+ {
+- FT0 = int32_to_float32(*((int32_t *)&FT1));
++ FT0 = int32_to_float32(*((int32_t *)&FT1), &env->fp_status);
+ }
+
+ void do_fitod(void)
+ {
+- DT0 = int32_to_float64(*((int32_t *)&FT1));
++ DT0 = int32_to_float64(*((int32_t *)&FT1), &env->fp_status);
+ }
+ #endif
+