Displaying 3 results from an estimated 3 matches for "1719e37".
Did you mean:
17193
2019 Jan 21
0
[klibc:master] alpha: Fix dual1 system call wrapper
...and store 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)...
2006 Jun 26
0
[klibc 21/43] alpha support for klibc
...pv, 2f # pv <- pc
+2:
+ ldgp gp, 0(pv)
+ lda a1, errno
+ stl v0, 0(a1)
+ lda v0, -1(zero)
+1:
+ ret zero,(ra),1
+
+ .size __syscall_common,.-__syscall_common
+ .end __syscall_common
diff --git a/usr/klibc/arch/alpha/sysdual.S b/usr/klibc/arch/alpha/sysdual.S
new file mode 100644
index 0000000..1719e37
--- /dev/null
+++ b/usr/klibc/arch/alpha/sysdual.S
@@ -0,0 +1,33 @@
+#
+# arch/alpha/sysdual.S
+#
+
+#
+# Some system calls have an alternate return value in r20 (a4).
+# This system call stub is for system calls where that is
+# the "real" return value.
+#
+
+#include <machine/asm.h&g...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: