Home | History | Annotate | Line # | Download | only in include
elf_machdep.h revision 1.3
      1  1.3  minoura /*	$NetBSD: elf_machdep.h,v 1.3 2000/04/02 15:35:51 minoura 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.3  minoura 
     12  1.3  minoura #define ARCH_ELFSIZE		32	/* MD native binary size */
     13  1.1     matt 
     14  1.1     matt /* VAX relocations */
     15  1.1     matt #define	R_VAX_NONE	0
     16  1.1     matt #define	R_VAX_8		1	/* S + A */
     17  1.1     matt #define	R_VAX_16	2
     18  1.1     matt #define	R_VAX_32	3
     19  1.1     matt #define R_VAX_RELATIVE	4
     20  1.1     matt #define	R_VAX_PC8	5	/* S + A - P */
     21  1.1     matt #define	R_VAX_PC16	6
     22  1.1     matt #define	R_VAX_PC32	7
     23  1.1     matt #define	R_VAX_COPY	8
     24  1.1     matt #define	R_VAX_REL32	9	/* S + A + D */
     25  1.1     matt #define	R_VAX_CALL_SLOT	10
     26  1.1     matt #define	R_VAX_JMP_SLOT	11
     27  1.1     matt #define	R_VAX_GLOB_DAT	12
     28  1.1     matt 
     29  1.1     matt #define	R_TYPE(name)	__CONCAT(R_VAX_,name)
     30