Home | History | Annotate | Line # | Download | only in include
elf_machdep.h revision 1.5
      1  1.5  thorpej /*	$NetBSD: elf_machdep.h,v 1.5 2001/12/09 23:05:59 thorpej 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.3  minoura #define ARCH_ELFSIZE		32	/* MD native binary size */
     15  1.1     matt 
     16  1.1     matt /* VAX relocations */
     17  1.1     matt #define	R_VAX_NONE	0
     18  1.4     matt #define	R_VAX_32	1	/* S + A */
     19  1.1     matt #define	R_VAX_16	2
     20  1.4     matt #define	R_VAX_8		3
     21  1.4     matt #define	R_VAX_PC32	4	/* S + A - PC */
     22  1.4     matt #define	R_VAX_PC16	5
     23  1.4     matt #define	R_VAX_PC8	6
     24  1.4     matt #define	R_VAX_COPY	19
     25  1.4     matt #define	R_VAX_GLOB_DAT	20
     26  1.4     matt #define	R_VAX_JMP_SLOT	21
     27  1.4     matt #define R_VAX_RELATIVE	22	/* S + A + D */
     28  1.1     matt 
     29  1.1     matt #define	R_TYPE(name)	__CONCAT(R_VAX_,name)
     30