From d3ead6b10ba4edc79d4b76949e7ce6ebbcf13c34 Mon Sep 17 00:00:00 2001 From: art Date: Wed, 19 Sep 2001 13:28:43 +0000 Subject: Unify elf32 and elf64 code with macros. This forced a renaming of a few functions from elf32. --- sys/compat/linux/linux_exec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/compat/linux/linux_exec.c') diff --git a/sys/compat/linux/linux_exec.c b/sys/compat/linux/linux_exec.c index 821eaca947b..350c153bf0f 100644 --- a/sys/compat/linux/linux_exec.c +++ b/sys/compat/linux/linux_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_exec.c,v 1.16 2001/08/11 23:21:14 art Exp $ */ +/* $OpenBSD: linux_exec.c,v 1.17 2001/09/19 13:28:43 art Exp $ */ /* $NetBSD: linux_exec.c,v 1.13 1996/04/05 00:01:10 christos Exp $ */ /* @@ -112,9 +112,9 @@ struct emul emul_linux_elf = { NULL, #endif LINUX_ELF_AUX_ARGSIZ, - elf_copyargs, + elf32_copyargs, setregs, - exec_elf_fixup, + exec_elf32_fixup, linux_sigcode, linux_esigcode, }; @@ -387,7 +387,7 @@ linux_elf_probe(p, epp, itp, pos, os) int error; size_t len; - brand = elf_check_brand(eh); + brand = elf32_check_brand(eh); if (brand && strcmp(brand, "Linux")) return (EINVAL); if (itp[0]) { -- cgit v1.2.3-59-g8ed1b