linux-user: Fix syscall pipe2() retval on sh4
authortakasi-y@ops.dti.ne.jp <takasi-y@ops.dti.ne.jp>
Wed, 17 Feb 2010 15:35:03 +0000 (00:35 +0900)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 6 Mar 2010 18:35:18 +0000 (19:35 +0100)
commit8b94631d63bc08b31d7793fc75c550cfb1d8dbbe
tree2c9669e7a726af9f0fd62761115270cdf7b275b3
parent1bb22c00cd7db3780ff1ad9a5e66f4f362937ac2
linux-user: Fix syscall pipe2() retval on sh4

On linux/sh4
 pipe() return values by r0:r1 as SH C calling convention.
 pipe2() return values on memory as traditional unix way.

Signed-off-by: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/syscall.c