[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.
From: |
takasi-y |
Subject: |
[Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall. |
Date: |
Tue, 20 Nov 2007 23:48:59 +0900 |
Hello,
I found 6th arg for syscall is missing on SH4 linux-user emulation.
This seems to be the cause of shared library mapping failure.
I successfully run shared-lib'd binary, after applying following fix.
/yoshii
diff -u -r1.155 main.c
--- a/linux-user/main.c 17 Nov 2007 01:37:43 -0000 1.155
+++ b/linux-user/main.c 20 Nov 2007 14:09:59 -0000
@@ -1613,7 +1613,7 @@
env->gregs[6],
env->gregs[7],
env->gregs[0],
- 0);
+ env->gregs[1]);
env->gregs[0] = ret;
env->pc += 2;
break;
- [Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.,
takasi-y <=