Displaying 1 result from an estimated 1 matches for "03e719d".
Did you mean:
0327d9d
2019 Jan 21
0
[klibc:master] alpha: Fix dual1 system call wrapper
...e the original value of v0 to
errno before that.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/arch/alpha/sysdual.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/usr/klibc/arch/alpha/sysdual.S b/usr/klibc/arch/alpha/sysdual.S
index 1719e37..03e719d 100644
--- a/usr/klibc/arch/alpha/sysdual.S
+++ b/usr/klibc/arch/alpha/sysdual.S
@@ -18,15 +18,15 @@
__syscall_dual1:
.frame sp,0,ra,0
callsys
- mov v0, a4
beq a3, 1f
br pv, 2f # pv <- pc
2:
ldgp gp, 0(pv)
lda a1, errno
- lda v0, -1(zero)
- stl a3, 0(a1)
+ stl v0, 0(a1)
+ lda a4,...