Stuart Anderson wrote: > > The linux user code was completely missing the ability to map errnos > from the host to the target. This patch adds this ability, with the > mapping needed for MIPS. With this patch, an appreciable number of the > tests in LTP now PASS (remaining failures are due to other bugs not yet > fixed).
> > > Stuart > > Stuart R. Anderson [EMAIL PROTECTED] > Network & Software Engineering http://www.netsweng.com/ > 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F > BD03 0A62 E534 37A7 9149 Content-Description: errno mapping patch > Index: qemu/linux-user/errno_defs.h > =================================================================== > --- /dev/null 1970-01-01 00:00:00.000000000 +0000 > +++ qemu/linux-user/errno_defs.h 2007-05-30 13:29:13.000000000 -0400 > @@ -0,0 +1,143 @@ > +#warning "errno_defs" Please clean up the compiler warnings. This one ist just the most obvious, I also see many more of the form: In file included from /home/ths/qemu/qemu-work/linux-user/qemu.h:11, from /home/ths/qemu/qemu-work/exec.c:38: /home/ths/qemu/qemu-work/linux-user/mips/syscall.h:92:1: warning: "TARGET_ECONNABORTED" redefined In file included from /home/ths/qemu/qemu-work/linux-user/syscall_defs.h:1620, from /home/ths/qemu/qemu-work/linux-user/qemu.h:8, from /home/ths/qemu/qemu-work/exec.c:38: /home/ths/qemu/qemu-work/linux-user/errno_defs.h:110:1: warning: this is the location of the previous definition Thiemo