RTEMS: cpukit/score/cpu/v850/include/machine/elf_machdep.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
elf_machdep.h
1#define ELF32_MACHDEP_ENDIANNESS ELFDATA2LSB
2
3#define ELF32_MACHDEP_ID_CASES \
4 case EM_V850: \
5 break;
6
7#define ELF32_MACHDEP_ID EM_V850
8
9
10
11#define EF_V850_ARCH 0xf0000000
12#define E_V850_ARCH 0x00000000
13#define E_V850E_ARCH 0x10000000
14#define E_V850E1_ARCH 0x20000000
15#define E_V850E2_ARCH 0x30000000
16#define E_V850E2V3_ARCH 0x40000000
17
18#define ARCH_ELFSIZE 32
19
20
21#define R_V850_NONE 0
22#define R_V850_9_PCREL 1
23#define R_V850_22_PCREL 2
24#define R_V850_HI16_S 3
25#define R_V850_HI16 4
26#define R_V850_LO16 5
27#define R_V850_ABS32 6
28#define R_V850_16 7
29#define R_V850_8 8
30#define R_V850_SDA_16_16_OFFSET 9
31#define R_V850_SDA_15_16_OFFSET 10
32#define R_V850_ZDA_16_16_OFFSET 11
33#define R_V850_ZDA_15_16_OFFSET 12
34#define R_V850_TDA_6_8_OFFSET 13
35#define R_V850_TDA_7_8_OFFSET 14
36#define R_V850_TDA_7_7_OFFSET 15
37#define R_V850_TDA_16_16_OFFSET 16
38#define R_V850_TDA_4_5_OFFSET 17
39#define R_V850_TDA_4_4_OFFSET 18
40#define R_V850_SDA_16_16_SPLIT_OFFSET 19
41#define R_V850_ZDA_16_16_SPLIT_OFFSET 20
42#define R_V850_CALLT_6_7_OFFSET 21
43#define R_V850_CALLT_16_16_OFFSET 22
44#define R_V850_GNU_VTINHERIT 23
45#define R_V850_GNU_VTENTRY 24
46#define R_V850_LONGCALL 25
47#define R_V850_LONGJUMP 26
48#define R_V850_ALIGN 27
49#define R_V850_REL32 28
50#define R_V850_LO16_SPLIT_OFFSET 29
51#define R_V850_16_PCREL 30
52#define R_V850_17_PCREL 31
53#define R_V850_23 32
54#define R_V850_32_PCREL 33
55#define R_V850_32_ABS 34
56#define R_V850_16_SPLIT_OFFSET 35
57#define R_V850_16_S1 36
58#define R_V850_LO16_S1 37
59#define R_V850_CALLT_15_16_OFFSET 38
60#define R_V850_32_GOTPCREL 39
61#define R_V850_16_GOT 40
62#define R_V850_32_GOT 41
63#define R_V850_22_PLT 42
64#define R_V850_32_PLT 43
65#define R_V850_COPY 44
66#define R_V850_GLOB_DAT 45
67#define R_V850_JMP_SLOT 46
68#define R_V850_RELATIVE 47
69#define R_V850_16_GOTOFF 48
70#define R_V850_32_GOTOFF 49
71#define R_V850_CODE 50
72#define R_V850_DATA 51
73
74#define R_TYPE(name) __CONCAT(R_V850_,name)