X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fdevel%2Fvalgrind%2Fpatches%2F120-mips_fix_soft_float.patch;fp=package%2Fdevel%2Fvalgrind%2Fpatches%2F120-mips_fix_soft_float.patch;h=1cf5aeca02ad7eca1e5d7e9de88c8f90f9b61c29;hb=38813174b2648597bd3ae86289fd1866edf5c6d4;hp=0000000000000000000000000000000000000000;hpb=5a7639c2f620aebe30df18af42d61eb5307f4d6d;p=openwrt-github%2F.git diff --git a/package/devel/valgrind/patches/120-mips_fix_soft_float.patch b/package/devel/valgrind/patches/120-mips_fix_soft_float.patch new file mode 100644 index 0000000000..1cf5aeca02 --- /dev/null +++ b/package/devel/valgrind/patches/120-mips_fix_soft_float.patch @@ -0,0 +1,34 @@ +--- a/VEX/priv/guest_mips_helpers.c ++++ b/VEX/priv/guest_mips_helpers.c +@@ -1201,6 +1201,7 @@ extern UInt mips_dirtyhelper_calculate_F + flt_op inst ) + { + UInt ret = 0; ++#ifndef __mips_soft_float + #if defined(__mips__) + VexGuestMIPS32State* guest_state = (VexGuestMIPS32State*)gs; + UInt loFsVal, hiFsVal, loFtVal, hiFtVal; +@@ -1320,6 +1321,7 @@ extern UInt mips_dirtyhelper_calculate_F + break; + } + #endif ++#endif + return ret; + } + +@@ -1329,6 +1331,7 @@ extern UInt mips_dirtyhelper_calculate_F + flt_op inst ) + { + UInt ret = 0; ++#ifndef __mips_soft_float + #if defined(__mips__) + #if defined(VGA_mips32) + VexGuestMIPS32State* guest_state = (VexGuestMIPS32State*)gs; +@@ -1439,6 +1442,7 @@ extern UInt mips_dirtyhelper_calculate_F + break; + } + #endif ++#endif + return ret; + } +