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