summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf32.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-09-19 13:28:44 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-09-19 13:28:44 +0000
commita14e66eb06beecc979cc0e82422b3a30dbbb418a (patch)
tree1592ab409992bb59ea3f362998c8400cfa8e1cd4 /sys/kern/exec_elf32.c
parent2a303517017b170aa9799ebf55bcfa1b06a8f77c (diff)
Unify elf32 and elf64 code with macros. This forced a renaming
of a few functions from elf32.
Diffstat (limited to 'sys/kern/exec_elf32.c')
-rw-r--r--sys/kern/exec_elf32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/exec_elf32.c b/sys/kern/exec_elf32.c
new file mode 100644
index 00000000000..581425aa20f
--- /dev/null
+++ b/sys/kern/exec_elf32.c
@@ -0,0 +1,7 @@
+#include <machine/exec.h>
+
+#ifdef _KERN_DO_ELF
+#define ELFSIZE 32
+#include <kern/exec_elf.c>
+#endif
+