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
Hello,
Let us see jal R_MIPS_26:
in current CVS version, op.o, -fno-PIC -mno-abicalls
004eb0d4 op_divb_AL_T0:
...
4eb104: afa50010 sw a1,16(sp)
4eb108: 1463 bnez v1,4eb118 op_divb_AL_T0+0x44
4eb10c: nop
4eb110: 0c140e12 jal 503848 raise_exception
4eb114: nop
4eb118:
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 op_divb_AL_T0:
...
4eb104: afa50010 sw a1,16(sp)
Sorry, sorry, I did send a wrony cpu_signal_handler()!
in cpu-exec.c:
#include sys/user.h
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 =