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