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