Add iBCS2 COFF loader. (Eventually there should be a sys/exec_coff.h.)
This commit is contained in:
parent
9c4c84c97e
commit
ace234dade
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: exec_conf.c,v 1.6 1994/07/01 02:57:56 deraadt Exp $ */
|
||||
/* $NetBSD: exec_conf.c,v 1.7 1994/08/15 22:17:16 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994 Christopher G. Demetriou
|
||||
|
@ -52,6 +52,10 @@
|
|||
#include <sys/exec_ecoff.h>
|
||||
#endif
|
||||
|
||||
#ifdef COMPAT_IBCS2
|
||||
#include <compat/ibcs2/ibcs2_exec.h>
|
||||
#endif
|
||||
|
||||
struct execsw execsw[] = {
|
||||
#ifdef LKM
|
||||
{ 0, NULL, }, /* entries for LKMs */
|
||||
|
@ -69,6 +73,9 @@ struct execsw execsw[] = {
|
|||
#ifdef EXEC_ECOFF
|
||||
{ ECOFF_HDR_SIZE, exec_ecoff_makecmds, }, /* ecoff binaries */
|
||||
#endif
|
||||
#ifdef COMPAT_IBCS2
|
||||
{ COFF_HDR_SIZE, exec_ibcs2_coff_makecmds, }, /* coff binaries */
|
||||
#endif
|
||||
};
|
||||
int nexecs = (sizeof execsw / sizeof(*execsw));
|
||||
int exec_maxhdrsz;
|
||||
|
|
Loading…
Reference in New Issue