Start to delete emulation support: since we're Just ELF, make
authorguenther <guenther@openbsd.org>
Mon, 6 Dec 2021 21:21:10 +0000 (21:21 +0000)
committerguenther <guenther@openbsd.org>
Mon, 6 Dec 2021 21:21:10 +0000 (21:21 +0000)
commit682e3c9402648a8662f9bfe1020029b23ac97ecc
treea50295d22dab880354d895503c3159a9f722b88f
parent4c89fce15e173e55c1ad8983d2fa3478a4f5f7eb
Start to delete emulation support: since we're Just ELF, make
copyargs() return 0/1 and merge elf_copyargs() into it.  Rename
ep_emul_arg and ep_emul_argp to have clearer meaning and type and
eliminate ep_emul_argsize as no longer necessary.  Make sure
ep_auxinfo (nee ep_emul_argp) is initialized as powerpc64 always
uses it in setregs().

ok semarie@ deraadt@ kettenis@
sys/arch/powerpc64/powerpc64/machdep.c
sys/kern/exec_elf.c
sys/kern/init_main.c
sys/kern/kern_exec.c
sys/sys/exec.h
sys/sys/proc.h