Home | History | Annotate | Line # | Download | only in include
      1  1.6  christos /*	$NetBSD: elf_machdep.h,v 1.6 2017/11/06 03:47:48 christos Exp $	*/
      2  1.1      matt 
      3  1.2    kleink #define	ELF32_MACHDEP_ENDIANNESS	ELFDATA2LSB
      4  1.1      matt #define	ELF32_MACHDEP_ID_CASES						\
      5  1.2    kleink 		case EM_VAX:						\
      6  1.1      matt 			break;
      7  1.1      matt 
      8  1.1      matt #define	ELF64_MACHDEP_ENDIANNESS	XXX	/* break compilation */
      9  1.1      matt #define	ELF64_MACHDEP_ID_CASES						\
     10  1.1      matt 		/* no 64-bit ELF machine types supported */
     11  1.5   thorpej 
     12  1.5   thorpej #define	ELF32_MACHDEP_ID	EM_VAX
     13  1.3   minoura 
     14  1.6  christos #define	KERN_ELFSIZE		32
     15  1.3   minoura #define ARCH_ELFSIZE		32	/* MD native binary size */
     16  1.1      matt 
     17  1.1      matt /* VAX relocations */
     18  1.1      matt #define	R_VAX_NONE	0
     19  1.4      matt #define	R_VAX_32	1	/* S + A */
     20  1.1      matt #define	R_VAX_16	2
     21  1.4      matt #define	R_VAX_8		3
     22  1.4      matt #define	R_VAX_PC32	4	/* S + A - PC */
     23  1.4      matt #define	R_VAX_PC16	5
     24  1.4      matt #define	R_VAX_PC8	6
     25  1.4      matt #define	R_VAX_COPY	19
     26  1.4      matt #define	R_VAX_GLOB_DAT	20
     27  1.4      matt #define	R_VAX_JMP_SLOT	21
     28  1.4      matt #define R_VAX_RELATIVE	22	/* S + A + D */
     29  1.1      matt 
     30  1.1      matt #define	R_TYPE(name)	__CONCAT(R_VAX_,name)
     31