All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall.
@ 2007-11-20 14:48 takasi-y
  2007-11-21  0:24 ` Magnus Damm
  0 siblings, 1 reply; 7+ messages in thread
From: takasi-y @ 2007-11-20 14:48 UTC (permalink / raw)
  To: qemu-devel

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;

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-21 22:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20 14:48 [Qemu-devel] [PATCH] SH4 Fix missing 6th arg of syscall takasi-y
2007-11-21  0:24 ` Magnus Damm
2007-11-21  1:43   ` Tomoyoshi ASANO
2007-11-21  5:07     ` Tomoyoshi ASANO
2007-11-21  8:12       ` Magnus Damm
2007-11-21  9:50       ` Fabrice Bellard
2007-11-21 22:41         ` Tomoyoshi ASANO

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.