summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-04-29 13:32:16 +0000
committerpeter <peter@FreeBSD.org>2000-04-29 13:32:16 +0000
commit454deb74dc6032606ef3238f46610ae3e4f5794b (patch)
tree1f65cee09822a996f51998d9229b87c93a962f22
parent33bb245bde53a528be82af3253e2b0b5197773ba (diff)
downloadFreeBSD-src-454deb74dc6032606ef3238f46610ae3e4f5794b.zip
FreeBSD-src-454deb74dc6032606ef3238f46610ae3e4f5794b.tar.gz
Initial dependency so that the kld's will link. imgact_coff depends
on the ibcs2 module being present.
-rw-r--r--sys/i386/ibcs2/ibcs2_sysvec.c2
-rw-r--r--sys/i386/ibcs2/imgact_coff.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_sysvec.c b/sys/i386/ibcs2/ibcs2_sysvec.c
index b1717f4..027c990 100644
--- a/sys/i386/ibcs2/ibcs2_sysvec.c
+++ b/sys/i386/ibcs2/ibcs2_sysvec.c
@@ -40,6 +40,8 @@
#include <i386/ibcs2/ibcs2_syscall.h>
#include <i386/ibcs2/ibcs2_signal.h>
+MODULE_VERSION(ibcs2, 1);
+
extern int bsd_to_ibcs2_errno[];
extern struct sysent ibcs2_sysent[IBCS2_SYS_MAXSYSCALL];
extern int szsigcode;
diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c
index 1ada323..6494ce9 100644
--- a/sys/i386/ibcs2/imgact_coff.c
+++ b/sys/i386/ibcs2/imgact_coff.c
@@ -50,6 +50,8 @@
#include <i386/ibcs2/coff.h>
#include <i386/ibcs2/ibcs2_util.h>
+MODULE_DEPEND(coff, ibcs2, 1, 1, 1);
+
extern struct sysentvec ibcs2_svr3_sysvec;
static int coff_load_file __P((struct proc *p, char *name));
OpenPOWER on IntegriCloud