hum, use freebsd_setregs for FreeBSD ELF binaries (this bug was introduced with

the execsw[] changes)
This commit is contained in:
jdolecek 2000-12-17 21:36:49 +00:00
parent 7cc2f76925
commit 5c6130a2b1
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: exec_conf.c,v 1.51 2000/12/08 19:42:11 jdolecek Exp $ */
/* $NetBSD: exec_conf.c,v 1.52 2000/12/17 21:36:49 jdolecek Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@ -209,7 +209,7 @@ const struct execsw execsw_builtin[] = {
{ elf_probe_func: ELF32NAME2(freebsd,probe) },
&emul_freebsd, EXECSW_PRIO_ANY,
FREEBSD_ELF_AUX_ARGSIZ,
elf32_copyargs, setregs }, /* FreeBSD 32bit ELF bins (not 64bit safe )*/
elf32_copyargs, freebsd_setregs }, /* FreeBSD 32bit ELF bins (not 64bit safe )*/
#endif
#ifdef COMPAT_LINUX
{ sizeof (Elf32_Ehdr), exec_elf32_makecmds,

View File

@ -1,4 +1,4 @@
/* $NetBSD: lkminit_exec.c,v 1.1 2000/12/08 23:05:36 jdolecek Exp $ */
/* $NetBSD: lkminit_exec.c,v 1.2 2000/12/17 21:36:49 jdolecek Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -56,7 +56,7 @@ static struct execsw exec_freebsd_elf =
{ elf_probe_func: ELFNAME2(freebsd,probe) },
NULL, EXECSW_PRIO_ANY,
FREEBSD_ELF_AUX_ARGSIZ,
elf32_copyargs, setregs }; /* FreeBSD 32bit ELF bins (not 64bit safe )*/
elf32_copyargs, freebsd_setregs }; /* FreeBSD 32bit ELF bins (not 64bit safe )*/
/*