diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-05-15 15:08:10 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-05-15 15:08:10 -0700 |
commit | 3e1ec9b847907b16146954b8bef38f36556408b6 (patch) | |
tree | e8ed5156074db5d2b4c572e374f7bfc6163e2a18 | |
parent | 3e223c1cd6a767ba9a149cbc3842b128cb6fbfac (diff) | |
download | klibc-3e1ec9b847907b16146954b8bef38f36556408b6.tar.gz |
[klibc] alpha: fix pipe() system callklibc-1.3.22
Fix setting the return value for the pipe() system call. I managed
to forget that Alpha syntax is backwards compared to MIPS.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | usr/klibc/arch/alpha/pipe.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/klibc/arch/alpha/pipe.S b/usr/klibc/arch/alpha/pipe.S index 18244db6749f9..ee7241304cb1a 100644 --- a/usr/klibc/arch/alpha/pipe.S +++ b/usr/klibc/arch/alpha/pipe.S @@ -30,9 +30,9 @@ pipe: ret zero,(ra),1 1: stl v0, 0(a0) - mov v0, zero - stl a3, 4(a0) + lda v0, 0 + stl a4, 4(a0) ret zero,(ra),1 - .size __syscall_dual1,.-__syscall_dual1 - .end __syscall_dual1 + .size pipe,.-pipe + .end pipe |