Home | History | Annotate | Line # | Download | only in include
elf_machdep.h revision 1.6
      1  1.6  thorpej /*	$NetBSD: elf_machdep.h,v 1.6 2001/12/09 23:05:57 thorpej 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.4  frueauf 		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.6  thorpej 
     12  1.6  thorpej #define	ELF32_MACHDEP_ID	EM_68K
     13  1.5  minoura 
     14  1.5  minoura #define ARCH_ELFSIZE		32	/* MD native binary size */
     15  1.2  thorpej 
     16  1.2  thorpej /* m68k relocation types */
     17  1.2  thorpej #define	R_68K_NONE	0
     18  1.2  thorpej #define	R_68K_32	1
     19  1.2  thorpej #define	R_68K_16	2
     20  1.2  thorpej #define	R_68K_8		3
     21  1.2  thorpej #define	R_68K_PC32	4
     22  1.2  thorpej #define	R_68K_PC16	5
     23  1.2  thorpej #define	R_68K_PC8	6
     24  1.2  thorpej #define	R_68K_GOT32	7
     25  1.2  thorpej #define	R_68K_GOT16	8
     26  1.2  thorpej #define	R_68K_GOT8	9
     27  1.2  thorpej #define	R_68K_GOT32O	10
     28  1.2  thorpej #define	R_68K_GOT16O	11
     29  1.2  thorpej #define	R_68K_GOT8O	12
     30  1.2  thorpej #define	R_68K_PLT32	13
     31  1.2  thorpej #define	R_68K_PLT16	14
     32  1.2  thorpej #define	R_68K_PLT8	15
     33  1.2  thorpej #define	R_68K_PLT32O	16
     34  1.2  thorpej #define	R_68K_PLT16O	17
     35  1.2  thorpej #define	R_68K_PLT8O	18
     36  1.2  thorpej #define	R_68K_COPY	19
     37  1.2  thorpej #define	R_68K_GLOB_DAT	20
     38  1.2  thorpej #define	R_68K_JMP_SLOT	21
     39  1.2  thorpej #define	R_68K_RELATIVE	22
     40  1.2  thorpej 
     41  1.2  thorpej #define	R_TYPE(name)	__CONCAT(R_68K_,name)
     42