summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-01-24 20:43:05 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-01-24 20:43:05 +0000
commit2c3fb1a86a77aa376d1f0fcc9cc449013521734b (patch)
tree07cc024c116f0828ae0f71844177f4fd7c2e26ff /lib/libc
parent823677f349ef20569a16eee0ed7ddb0d58ac4dc7 (diff)
return values are in ret* regs
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/hppa/sys/Ovfork.S8
-rw-r--r--lib/libc/arch/hppa/sys/fork.S8
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/arch/hppa/sys/Ovfork.S b/lib/libc/arch/hppa/sys/Ovfork.S
index 92a0a3b8c45..464346e812b 100644
--- a/lib/libc/arch/hppa/sys/Ovfork.S
+++ b/lib/libc/arch/hppa/sys/Ovfork.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: Ovfork.S,v 1.4 2000/01/12 00:08:41 mickey Exp $ */
+/* $OpenBSD: Ovfork.S,v 1.5 2000/01/24 20:43:04 mickey Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -36,15 +36,15 @@
#ifdef SYSLIBC_SCCS
.space .text
.subspa $code$
- .asciz "$OpenBSD: Ovfork.S,v 1.4 2000/01/12 00:08:41 mickey Exp $"
+ .asciz "$OpenBSD: Ovfork.S,v 1.5 2000/01/24 20:43:04 mickey Exp $"
.align 4
#endif
ENTRY(vfork)
SYSCALL(vfork)
- ldo -1(arg1), arg1
+ ldo -1(ret1), ret1
bv r0(rp)
- and arg1, arg0, arg0
+ and ret1, ret0, ret0
EXIT(vfork)
.end
diff --git a/lib/libc/arch/hppa/sys/fork.S b/lib/libc/arch/hppa/sys/fork.S
index 43e42b58d90..7464013ad58 100644
--- a/lib/libc/arch/hppa/sys/fork.S
+++ b/lib/libc/arch/hppa/sys/fork.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: fork.S,v 1.4 2000/01/12 00:08:42 mickey Exp $ */
+/* $OpenBSD: fork.S,v 1.5 2000/01/24 20:43:04 mickey Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -36,15 +36,15 @@
#ifdef SYSLIBC_SCCS
.space .text
.subspa $code$
- .asciz "$OpenBSD: fork.S,v 1.4 2000/01/12 00:08:42 mickey Exp $"
+ .asciz "$OpenBSD: fork.S,v 1.5 2000/01/24 20:43:04 mickey Exp $"
.align 4
#endif
ENTRY(fork)
SYSCALL(fork)
- ldo -1(arg1), arg1
+ ldo -1(ret1), ret1
bv r0(rp)
- and arg1, arg0, arg0
+ and ret1, ret0, ret0
EXIT(fork)
.end