summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-29 03:05:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-29 03:05:10 +0000
commit84caeb3aa64af21636ab0464cce327de7bc4cc78 (patch)
treed123bfcb8aa3d3569e5b1a9ceb1bf00139078361 /sys/arch
parentd88aa76acbddcc4f61880c1f43093eedf408a8eb (diff)
enable ELF/a.out/ECOFF in machine/exec.h
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/include/exec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/sparc/include/exec.h b/sys/arch/sparc/include/exec.h
index beac6897c05..10c47d28aaa 100644
--- a/sys/arch/sparc/include/exec.h
+++ b/sys/arch/sparc/include/exec.h
@@ -57,4 +57,11 @@ struct relocation_info_sparc {
};
#define relocation_info relocation_info_sparc
+#define ELF_TARG_CLASS ELFCLASS32
+#define ELF_TARG_DATA ELFDATA2MSB
+#define ELF_TARG_MACH EM_SPARC
+
+#define DO_AOUT /* support a.out */
+#define DO_ELF /* support ELF */
+
#endif /* _SPARC_EXEC_H_ */