diff options
Diffstat (limited to 'lang/squeak/files/patch-unix_vm_sqUnixMain.c')
-rw-r--r-- | lang/squeak/files/patch-unix_vm_sqUnixMain.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/squeak/files/patch-unix_vm_sqUnixMain.c b/lang/squeak/files/patch-unix_vm_sqUnixMain.c new file mode 100644 index 000000000000..269d2a0b98bb --- /dev/null +++ b/lang/squeak/files/patch-unix_vm_sqUnixMain.c @@ -0,0 +1,13 @@ +--- unix/vm/sqUnixMain.c.bak 2013-12-05 13:49:51 -0800 ++++ unix/vm/sqUnixMain.c +@@ -1334,8 +1334,8 @@ + || defined(POWERPC) || defined(__POWERPC) || defined (__POWERPC__) ) + void mtfsfi(unsigned long long fpscr) + { +- __asm__("lfd f0, %0" :: "m"(fpscr)); +- __asm__("mtfsf 0xff, f0"); ++ __asm__("lfd 0, %0" :: "m"(fpscr)); ++ __asm__("mtfsf 0xff, 0"); + } + #else + # define mtfsfi(fpscr) |