Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys hum, use freebsd_setregs for FreeBSD ELF binaries (this ...



details:   https://anonhg.NetBSD.org/src/rev/b062cc257111
branches:  trunk
changeset: 500734:b062cc257111
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Dec 17 21:36:49 2000 +0000

description:
hum, use freebsd_setregs for FreeBSD ELF binaries (this bug was introduced with
the execsw[] changes)

diffstat:

 sys/kern/exec_conf.c                    |  4 ++--
 sys/lkm/exec/freebsd_elf/lkminit_exec.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r deb098122bb9 -r b062cc257111 sys/kern/exec_conf.c
--- a/sys/kern/exec_conf.c      Sun Dec 17 20:53:03 2000 +0000
+++ b/sys/kern/exec_conf.c      Sun Dec 17 21:36:49 2000 +0000
@@ -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 @@
          { 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,
diff -r deb098122bb9 -r b062cc257111 sys/lkm/exec/freebsd_elf/lkminit_exec.c
--- a/sys/lkm/exec/freebsd_elf/lkminit_exec.c   Sun Dec 17 20:53:03 2000 +0000
+++ b/sys/lkm/exec/freebsd_elf/lkminit_exec.c   Sun Dec 17 21:36:49 2000 +0000
@@ -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 @@
          { 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 )*/
 
 
 /*



Home | Main Index | Thread Index | Old Index