Source-Changes-HG archive

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

[src/trunk]: src/sys/kern revert previous, you can run on mips 64 bit binarie...



details:   https://anonhg.NetBSD.org/src/rev/67df3309f75a
branches:  trunk
changeset: 786234:67df3309f75a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 20 22:28:58 2013 +0000

description:
revert previous, you can run on mips 64 bit binaries with a 32 bit kernel.

diffstat:

 sys/kern/kern_exec.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 907c0728fdc4 -r 67df3309f75a sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c      Sat Apr 20 18:24:18 2013 +0000
+++ b/sys/kern/kern_exec.c      Sat Apr 20 22:28:58 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exec.c,v 1.359 2013/04/20 18:04:41 christos Exp $ */
+/*     $NetBSD: kern_exec.c,v 1.360 2013/04/20 22:28:58 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,9 +59,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.359 2013/04/20 18:04:41 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.360 2013/04/20 22:28:58 christos Exp $");
 
 #include "opt_exec.h"
+#include "opt_execfmt.h"
 #include "opt_ktrace.h"
 #include "opt_modular.h"
 #include "opt_syscall_debug.h"
@@ -527,17 +528,13 @@
 #ifdef MODULAR
        static const char * const native[] = {
                "exec_elf32",
-#ifdef _LP64
                "exec_elf64",
-#endif
                "exec_script",
                NULL
        };
        static const char * const compat[] = {
                "exec_elf32",
-#ifdef _LP64
                "exec_elf64",
-#endif
                "exec_script",
                "exec_aout",
                "exec_coff",



Home | Main Index | Thread Index | Old Index