elf_machdep.h revision 1.2
1/* $NetBSD: elf_machdep.h,v 1.2 1999/10/25 13:55:10 kleink Exp $ */ 2 3#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB 4#define ELF32_MACHDEP_ID_CASES \ 5 case EM_VAX: \ 6 break; 7 8#define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */ 9#define ELF64_MACHDEP_ID_CASES \ 10 /* no 64-bit ELF machine types supported */ 11 12/* VAX relocations */ 13#define R_VAX_NONE 0 14#define R_VAX_8 1 /* S + A */ 15#define R_VAX_16 2 16#define R_VAX_32 3 17#define R_VAX_RELATIVE 4 18#define R_VAX_PC8 5 /* S + A - P */ 19#define R_VAX_PC16 6 20#define R_VAX_PC32 7 21#define R_VAX_COPY 8 22#define R_VAX_REL32 9 /* S + A + D */ 23#define R_VAX_CALL_SLOT 10 24#define R_VAX_JMP_SLOT 11 25#define R_VAX_GLOB_DAT 12 26 27#define R_TYPE(name) __CONCAT(R_VAX_,name) 28