summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-29 03:05:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-29 03:05:15 +0000
commit92383d4847f9886583809f9d430a3411aa6e925c (patch)
tree8dd61408135e5791358ad10abf3336e19c8c52f9 /sys/arch/i386/include
parent84caeb3aa64af21636ab0464cce327de7bc4cc78 (diff)
enable ELF/a.out/ECOFF in machine/exec.h
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/exec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/i386/include/exec.h b/sys/arch/i386/include/exec.h
index ac7a9002012..65935f190bb 100644
--- a/sys/arch/i386/include/exec.h
+++ b/sys/arch/i386/include/exec.h
@@ -46,4 +46,11 @@ struct relocation_info_i386 {
};
#define relocation_info relocation_info_i386
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2LSB
+#define ELF_TARG_MACH EM_386
+
+#define DO_AOUT /* support a.out */
+#define DO_ELF /* support ELF */
+
#endif /* _I386_EXEC_H_ */