summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/exec.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-11 08:10:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-11 08:10:58 +0000
commitdc1a664dc988cddb24c5cce84bcc227f20f66c51 (patch)
treef16c18509e2525c2874518473fd2570c3e5363a2 /sys/arch/sparc/include/exec.h
parentaa12a442daf76dba1b3faa116eff86c417ee465d (diff)
elf/a.out symbols
Diffstat (limited to 'sys/arch/sparc/include/exec.h')
-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..50ee2751730 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_ */