SH4 Fix missing 6th arg of syscall, by "takasi-y".
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 20 Nov 2007 15:22:44 +0000 (15:22 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 20 Nov 2007 15:22:44 +0000 (15:22 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3711 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/main.c

index 631eb4b..cfc9065 100644 (file)
@@ -1613,7 +1613,7 @@ void cpu_loop (CPUState *env)
                              env->gregs[6],
                              env->gregs[7],
                              env->gregs[0],
-                             0);
+                             env->gregs[1]);
             env->gregs[0] = ret;
             env->pc += 2;
             break;