[PATCH] mips: fix errno setting after syscall

Alexander Gordeev lasaine at lvk.cs.msu.su
Wed Oct 13 14:16:34 UTC 2010


В Thu,  7 Oct 2010 18:54:24 +0400
Alexander Gordeev <lasaine at lvk.cs.msu.su> пишет:

> If there was an error during syscall then after it's completion a3
> register holds a non-zero value and v0 holds an actual error code which
> should be saved in errno. This can be achieved by calling
> __syscall_error with the value from v0 as a parameter. So this value
> should be stored in a0, but the appropriate assembly instructions are
> missing. Fixed this now by adding "move a0, v0".
> 
> I think it was once fixed by 58c5f8ba4cdf62342d05a546d15404cbbb3c4e07
> but then something went wrong. Again...
> 
> Signed-off-by: Alexander Gordeev <lasaine at lvk.cs.msu.su>
[snip]

Nobody interested?

-- 
  Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20101013/5a6d5030/attachment.pgp>


More information about the uClibc mailing list