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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/exec.h b/sys/arch/sparc/include/exec.h
index 50ee2751730..b4c3925fd48 100644
--- a/sys/arch/sparc/include/exec.h
+++ b/sys/arch/sparc/include/exec.h
@@ -61,7 +61,12 @@ struct relocation_info_sparc {
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_SPARC
-#define DO_AOUT /* support a.out */
-#define DO_ELF /* support ELF */
+#define _NLIST_DO_AOUT
+#define _NLIST_DO_ELF
+
+#define _KERN_DO_AOUT
+#if defined(COMPAT_LINUX) || defined(COMPAT_SVR4)
+#define _KERN_DO_ELF
+#endif
#endif /* _SPARC_EXEC_H_ */