summaryrefslogtreecommitdiff
path: root/sys/arch/arm32/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/arm32/include
parent84caeb3aa64af21636ab0464cce327de7bc4cc78 (diff)
enable ELF/a.out/ECOFF in machine/exec.h
Diffstat (limited to 'sys/arch/arm32/include')
-rw-r--r--sys/arch/arm32/include/exec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arch/arm32/include/exec.h b/sys/arch/arm32/include/exec.h
index 00cab9c6401..a366d2f339f 100644
--- a/sys/arch/arm32/include/exec.h
+++ b/sys/arch/arm32/include/exec.h
@@ -56,4 +56,10 @@ struct relocation_info_arm6 {
/* No special executable format */
#define cpu_exec_aout_makecmds(a, b) ENOEXEC
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2LSB
+#define ELF_TARG_MACH EM_ARM
+
+#define DO_AOUT /* support a.out */
+
#endif /* _ARM_EXEC_H_ */