summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
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_ */