summaryrefslogtreecommitdiff
path: root/sys/arch/pica/include/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/pica/include/exec.h')
-rw-r--r--sys/arch/pica/include/exec.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/pica/include/exec.h b/sys/arch/pica/include/exec.h
index 9e8be1b5d21..d7ec6218317 100644
--- a/sys/arch/pica/include/exec.h
+++ b/sys/arch/pica/include/exec.h
@@ -37,12 +37,20 @@
#define __LDPGSZ 4096
+/*
+ * Define what exec "formats" we should handle.
+ */
+#define NATIVE_EXEC_ELF
+#define EXEC_SCRIPT
+
#define ELF_TARG_CLASS ELFCLASS32
#define ELF_TARG_DATA ELFDATA2LSB
#define ELF_TARG_MACH EM_MIPS
+/*
+ * This is what we want nlist(3) to handle.
+ */
#define DO_AOUT /* support a.out */
#define DO_ELF /* support ELF */
#define DO_ECOFF /* support ECOFF */
-#include <machine/reloc.h>