alpha-linux-user: Fix pipe return mechanism.
authorRichard Henderson <rth@twiddle.net>
Mon, 3 May 2010 17:07:52 +0000 (10:07 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 May 2010 16:22:20 +0000 (16:22 +0000)
commitdccb2cd43ff052b5e4067dc50f8ba1f2de564ad6
tree4b0f240cd6bce067ad7abf0d3a18a7e523e55bda
parent213f9289bd842cf176fb792bdfe5dd4a1712cbad
alpha-linux-user: Fix pipe return mechanism.

At the same time, tidy the code wrt MIPS and SH4 which have the
same two register return mechanism.  Fix confusion between pipe
and pipe2 with an explicit flags=0, when the guest will not be
using the two register return mechanism.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/syscall.c