summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
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/sun3
parent84caeb3aa64af21636ab0464cce327de7bc4cc78 (diff)
enable ELF/a.out/ECOFF in machine/exec.h
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/include/exec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/sun3/include/exec.h b/sys/arch/sun3/include/exec.h
index b28a4ea597d..53310fea489 100644
--- a/sys/arch/sun3/include/exec.h
+++ b/sys/arch/sun3/include/exec.h
@@ -44,4 +44,11 @@ struct relocation_info_m68k {
};
#define relocation_info relocation_info_m68k
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2MSB
+#define ELF_TARG_MACH EM_68K
+
+#define DO_AOUT /* support a.out */
+#define DO_ELF /* support ELF */
+
#endif /* _LDPGSZ */