Annotation of sys/arch/m88k/include/exec.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: exec.h,v 1.1 2004/04/26 12:34:05 miod Exp $ */
! 2: #ifndef __MACHINE_EXEC_H__
! 3: #define __MACHINE_EXEC_H__
! 4:
! 5: #define __LDPGSZ 4096
! 6:
! 7: struct relocation_info_m88k {
! 8: unsigned int r_address; /* offset in text or data segment */
! 9: unsigned int r_symbolnum : 24, /* ordinal number of add symbol */
! 10: r_extern : 1, /* 1 if need to add symbol to value */
! 11: r_baserel : 1,
! 12: r_pcrel : 1,
! 13: r_jmptable : 1,
! 14: r_type : 4;
! 15:
! 16: int r_addend;
! 17: };
! 18: #define relocation_info relocation_info_m88k
! 19:
! 20: #define ARCH_ELFSIZE 32
! 21:
! 22: #define ELF_TARG_CLASS ELFCLASS32
! 23: #define ELF_TARG_DATA ELFDATA2MSB
! 24: #define ELF_TARG_MACH EM_88K
! 25:
! 26: #define _NLIST_DO_AOUT
! 27: #define _NLIST_DO_ELF
! 28:
! 29: #define _KERN_DO_AOUT
! 30: #define _KERN_DO_ELF
! 31:
! 32: #endif /* __MACHINE_EXEC_H__ */
CVSweb