xref: /openbsd/sys/arch/m88k/include/exec.h (revision 5af055cd)
1 /*	$OpenBSD: exec.h,v 1.6 2015/08/29 01:58:39 guenther Exp $ */
2 #ifndef _M88K_EXEC_H_
3 #define _M88K_EXEC_H_
4 
5 #define __LDPGSZ        4096
6 
7 #define ARCH_ELFSIZE		32
8 
9 #define ELF_TARG_CLASS		ELFCLASS32
10 #define ELF_TARG_DATA		ELFDATA2MSB
11 #define ELF_TARG_MACH		EM_88K
12 
13 #define _KERN_DO_ELF
14 
15 /* Processor specific dynamic tag values.  */
16 #define	DT_88K_ADDRBASE	0x70000001
17 #define	DT_88K_PLTSTART	0x70000002
18 #define	DT_88K_PLTEND	0x70000003
19 #define	DT_88K_TDESC	0x70000004
20 
21 #define	DT_PROCNUM	(DT_88K_TDESC + 1 - DT_LOPROC)
22 
23 #endif /* _M88K_EXEC_H_ */
24