Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Add support for COMPAT_AOUT_M68K.
details: https://anonhg.NetBSD.org/src/rev/eb8a056fc7d5
branches: trunk
changeset: 499965:eb8a056fc7d5
user: scw <scw%NetBSD.org@localhost>
date: Sat Dec 02 20:44:09 2000 +0000
description:
Add support for COMPAT_AOUT_M68K.
diffstat:
sys/kern/exec_conf.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r df52906b9938 -r eb8a056fc7d5 sys/kern/exec_conf.c
--- a/sys/kern/exec_conf.c Sat Dec 02 20:43:08 2000 +0000
+++ b/sys/kern/exec_conf.c Sat Dec 02 20:44:09 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_conf.c,v 1.49 2000/12/01 12:57:55 jdolecek Exp $ */
+/* $NetBSD: exec_conf.c,v 1.50 2000/12/02 20:44:09 scw Exp $ */
/*
* Copyright (c) 1993, 1994 Christopher G. Demetriou
@@ -40,6 +40,7 @@
#include "opt_compat_svr4.h"
#include "opt_compat_netbsd32.h"
#include "opt_compat_aout.h"
+#include "opt_compat_aout_m68k.h"
#include "opt_compat_vax1k.h"
#include "opt_compat_pecoff.h"
#include "opt_compat_osf1.h"
@@ -137,6 +138,9 @@
#ifdef COMPAT_AOUT
extern const struct emul emul_netbsd_aout;
#endif
+#ifdef COMPAT_AOUT_M68K
+extern const struct emul emul_netbsd_aoutm68k;
+#endif
const struct execsw execsw[] = {
#ifdef EXEC_SCRIPT
@@ -152,6 +156,8 @@
{ sizeof(struct exec), exec_aout_makecmds, { NULL },
#ifdef COMPAT_AOUT
&emul_netbsd_aout,
+#elif defined(COMPAT_AOUT_M68K)
+ &emul_netbsd_aoutm68k,
#else
&emul_netbsd,
#endif /* COMPAT_AOUT */
Home |
Main Index |
Thread Index |
Old Index