No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / vax / include / elf_machdep.h
blobcb94e442a48e80d50ee413ec1c74c51bc249677b
1 /* $NetBSD: elf_machdep.h,v 1.4 2000/07/13 03:18:22 matt Exp $ */
3 #define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
4 #define ELF32_MACHDEP_ID_CASES \
5 case EM_VAX: \
6 break;
8 #define ELF64_MACHDEP_ENDIANNESS XXX /* break compilation */
9 #define ELF64_MACHDEP_ID_CASES \
10 /* no 64-bit ELF machine types supported */
12 #define ELF32_MACHDEP_ID EM_VAX
14 #define ARCH_ELFSIZE 32 /* MD native binary size */
16 /* VAX relocations */
17 #define R_VAX_NONE 0
18 #define R_VAX_32 1 /* S + A */
19 #define R_VAX_16 2
20 #define R_VAX_8 3
21 #define R_VAX_PC32 4 /* S + A - PC */
22 #define R_VAX_PC16 5
23 #define R_VAX_PC8 6
24 #define R_VAX_COPY 19
25 #define R_VAX_GLOB_DAT 20
26 #define R_VAX_JMP_SLOT 21
27 #define R_VAX_RELATIVE 22 /* S + A + D */
29 #define R_TYPE(name) __CONCAT(R_VAX_,name)