Subject: COMPAT_LINUX: Fixed!
To: None <port-mips@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: port-mips
Date: 11/19/2001 21:11:15
> 0x7fffefe0:     addiu   $a0,$sp,16   <-- this is the signal trampoline
> 0x7fffefe4:     li      $v0,119
> 0x7fffefe8:     syscall
> 0x7fffefec:     break

(snip)

>    206 signal   CALL  [-3881]
>    206 signal   RET   [-3881] -1 unknown errno 78

-3881 = 119 - 4000. This is the 4000 shift for Linux system calls on the
MIPS. I can't beleive I've been stuck on this for weeks!

-- 
Emmanuel Dreyfus
manu@netbsd.org