modified target_to_host_cmsg() and host_to_target_cmsg().
diff -Nurb qemu-20070623/linux-user/syscall.c qemu-loongson/linux-user/syscall.c
--- qemu-20070623/linux-user/syscall.c 2007-06-23 16:39:14.0 +0800
+++ qemu-loongson/linux-user/syscall.c 2007-06-23 21:49:18.0 +0800
@@ -562
Hello.
This patch is made for HOST_MIPS, to fix a sock_type error.
diff -Nurb qemu-20070623/linux-user/socket.h qemu-loongson/linux-user/socket.h
--- qemu-20070623/linux-user/socket.h 2006-06-24 23:06:03.0 +0800
+++ qemu-loongson/linux-user/socket.h 2007-06-23 21:44:48.0 +0800
Hello,
Let us see "jal R_MIPS_26":
in current CVS version, op.o, -fno-PIC -mno-abicalls
004eb0d4 :
...
4eb104: afa50010 sw a1,16(sp)
4eb108: 1463 bnez v1,4eb118
4eb10c: nop
4eb110: 0c140e12 jal 503848
4eb114: nop
4eb118: 8fa30010 lw v1,16(sp)
4eb11c: 2021 move a
2007/6/3, Thiemo Seufer <[EMAIL PROTECTED]>:
... I think the current
CVS version does the right thing without relying on on an equivalent
to your op_mips.c tool.
...
On my computer, I do not think so.
in op.o, -fno-PIC -mno-abicalls
004eb0d4 :
...
4eb104: afa50010 sw a1,16(sp)
4eb108: 14600
Sorry, sorry, I did send a wrony "cpu_signal_handler()"!
in cpu-exec.c:
#include
int cpu_signal_handler(int host_signum, void *pinfo,
void *puc)
{
siginfo_t *info = pinfo;
struct ucontext *uc = puc;
unsigned long pc;
int is_write;
pc = uc->uc_mcontext.pc;