summaryrefslogtreecommitdiff
path: root/sys/compat/linux/include/linux_exec.h
diff options
context:
space:
mode:
authorfvdl <fvdl@NetBSD.org>1995-06-11 14:56:47 +0000
committerfvdl <fvdl@NetBSD.org>1995-06-11 14:56:47 +0000
commitfc7cfb5f0b78a7b374373b9259e961e4c9346c1f (patch)
treef30bd60b7d17b2aa09f1e30d23ad3ef3cf8e8bd9 /sys/compat/linux/include/linux_exec.h
parent4ce5bb3dd467c312c1630d7ca3cdfaa46b248233 (diff)
* Make Linux ELF binaries work. Lots of code duplication, but it will have to do
for now. * Add a sanity check in linux_uselib
Diffstat (limited to 'sys/compat/linux/include/linux_exec.h')
-rw-r--r--sys/compat/linux/include/linux_exec.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/compat/linux/include/linux_exec.h b/sys/compat/linux/include/linux_exec.h
index 4bd97aeb20c..4645b901a74 100644
--- a/sys/compat/linux/include/linux_exec.h
+++ b/sys/compat/linux/include/linux_exec.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec.h,v 1.2 1995/04/07 22:23:26 fvdl Exp $ */
+/* $NetBSD: linux_exec.h,v 1.3 1995/06/11 14:56:56 fvdl Exp $ */
/*
* Copyright (c) 1995 Frank van der Linden
@@ -35,6 +35,12 @@
#ifndef _LINUX_EXEC_H
#define _LINUX_EXEC_H
+/*
+ * Include this for ELF definitions. Should be an emul-independent file
+ * someday.
+ */
+#include <compat/svr4/svr4_exec.h>
+
#define LINUX_M_I386 100
/* Sparc? Alpha? */
@@ -66,6 +72,7 @@
#define LINUX_N_BSSADDR(x,m) (LINUX_N_DATADDR(x,m) + (x).a_data)
int exec_linux_aout_makecmds __P((struct proc *, struct exec_package *));
+int exec_linux_elf_makecmds __P((struct proc *, struct exec_package *));
extern char linux_sigcode[], linux_esigcode[];