Clean up more ancient history: since 2015 the libc stubs for
authorguenther <guenther@openbsd.org>
Wed, 2 Nov 2022 07:20:07 +0000 (07:20 +0000)
committerguenther <guenther@openbsd.org>
Wed, 2 Nov 2022 07:20:07 +0000 (07:20 +0000)
commitf11c99e6d0b54f18ffdc3fbb4b56e58af88a433f
tree8c03ffd76a090da63c9196f6440fd476bdf46d2b
parentb9a442fa4bbf806692d2f3fed7f4fd20be704e6e
Clean up more ancient history: since 2015 the libc stubs for
fork/vfork/__tfork haven't cared about the second return register.
So, stop setting retval[1] in kern_fork.c and stop setting the
second return register in the MD child_return() routines.

With the above, we have no multi-register return values on LP64,
so stop touching that register in the trapframe on those archs.

testing miod@ and aoyama@
ok miod@
sys/arch/alpha/alpha/trap.c
sys/arch/amd64/amd64/trap.c
sys/arch/arm64/arm64/syscall.c
sys/arch/hppa/hppa/trap.c
sys/arch/m88k/m88k/trap.c
sys/arch/mips64/mips64/trap.c
sys/arch/powerpc/powerpc/trap.c
sys/arch/powerpc64/powerpc64/syscall.c
sys/arch/riscv64/riscv64/syscall.c
sys/arch/sparc64/sparc64/trap.c
sys/kern/kern_fork.c