Home | History | Annotate | Line # | Download | only in include
elf_machdep.h revision 1.3
      1  1.3   kleink /*	$NetBSD: elf_machdep.h,v 1.3 1999/10/25 13:55:08 kleink Exp $	*/
      2  1.1  thorpej 
      3  1.3   kleink #define	ELF32_MACHDEP_ENDIANNESS	ELFDATA2MSB
      4  1.1  thorpej #define	ELF32_MACHDEP_ID_CASES						\
      5  1.3   kleink 		case EM_68k:						\
      6  1.1  thorpej 			break;
      7  1.1  thorpej 
      8  1.1  thorpej #define	ELF64_MACHDEP_ENDIANNESS	XXX	/* break compilation */
      9  1.1  thorpej #define	ELF64_MACHDEP_ID_CASES						\
     10  1.1  thorpej 		/* no 64-bit ELF machine types supported */
     11  1.2  thorpej 
     12  1.2  thorpej /* m68k relocation types */
     13  1.2  thorpej #define	R_68K_NONE	0
     14  1.2  thorpej #define	R_68K_32	1
     15  1.2  thorpej #define	R_68K_16	2
     16  1.2  thorpej #define	R_68K_8		3
     17  1.2  thorpej #define	R_68K_PC32	4
     18  1.2  thorpej #define	R_68K_PC16	5
     19  1.2  thorpej #define	R_68K_PC8	6
     20  1.2  thorpej #define	R_68K_GOT32	7
     21  1.2  thorpej #define	R_68K_GOT16	8
     22  1.2  thorpej #define	R_68K_GOT8	9
     23  1.2  thorpej #define	R_68K_GOT32O	10
     24  1.2  thorpej #define	R_68K_GOT16O	11
     25  1.2  thorpej #define	R_68K_GOT8O	12
     26  1.2  thorpej #define	R_68K_PLT32	13
     27  1.2  thorpej #define	R_68K_PLT16	14
     28  1.2  thorpej #define	R_68K_PLT8	15
     29  1.2  thorpej #define	R_68K_PLT32O	16
     30  1.2  thorpej #define	R_68K_PLT16O	17
     31  1.2  thorpej #define	R_68K_PLT8O	18
     32  1.2  thorpej #define	R_68K_COPY	19
     33  1.2  thorpej #define	R_68K_GLOB_DAT	20
     34  1.2  thorpej #define	R_68K_JMP_SLOT	21
     35  1.2  thorpej #define	R_68K_RELATIVE	22
     36  1.2  thorpej 
     37  1.2  thorpej #define	R_TYPE(name)	__CONCAT(R_68K_,name)
     38