1
2#ifndef ELF_RELOC
3#error "ELF_RELOC must be defined"
4#endif
5
6// Relocation types defined in following documents.
7//
8//  - System V Application Binary Interface - VE Architecture
9//    Processor Supplement
10//  - ELF Handling For Thread-Local Storage - VE Architecture
11//    Processor Supplement
12
13ELF_RELOC(R_VE_NONE,         0)
14ELF_RELOC(R_VE_REFLONG,      1)
15ELF_RELOC(R_VE_REFQUAD,      2)
16ELF_RELOC(R_VE_SREL32,       3)
17ELF_RELOC(R_VE_HI32,         4)
18ELF_RELOC(R_VE_LO32,         5)
19ELF_RELOC(R_VE_PC_HI32,      6)
20ELF_RELOC(R_VE_PC_LO32,      7)
21ELF_RELOC(R_VE_GOT32,        8)
22ELF_RELOC(R_VE_GOT_HI32,     9)
23ELF_RELOC(R_VE_GOT_LO32,     10)
24ELF_RELOC(R_VE_GOTOFF32,     11)
25ELF_RELOC(R_VE_GOTOFF_HI32,  12)
26ELF_RELOC(R_VE_GOTOFF_LO32,  13)
27ELF_RELOC(R_VE_PLT32,        14)
28ELF_RELOC(R_VE_PLT_HI32,     15)
29ELF_RELOC(R_VE_PLT_LO32,     16)
30ELF_RELOC(R_VE_RELATIVE,     17)
31ELF_RELOC(R_VE_GLOB_DAT,     18)
32ELF_RELOC(R_VE_JUMP_SLOT,    19)
33ELF_RELOC(R_VE_COPY,         20)
34ELF_RELOC(R_VE_DTPMOD64,     22)
35ELF_RELOC(R_VE_DTPOFF64,     23)
36// ELF_RELOC(R_VE_TPOFF64,     24)
37ELF_RELOC(R_VE_TLS_GD_HI32,  25)
38ELF_RELOC(R_VE_TLS_GD_LO32,  26)
39// ELF_RELOC(R_VE_TLS_LD_HI32,  27)
40// ELF_RELOC(R_VE_TLS_LD_LO32,  28)
41// ELF_RELOC(R_VE_DTPOFF32,     29)
42// ELF_RELOC(R_VE_TLS_IE_HI32,  30)
43// ELF_RELOC(R_VE_TLS_IE_LO32,  31)
44ELF_RELOC(R_VE_TPOFF_HI32,   32)
45ELF_RELOC(R_VE_TPOFF_LO32,   33)
46// ELF_RELOC(R_VE_TPOFF32,      34)
47ELF_RELOC(R_VE_CALL_HI32,    35)
48ELF_RELOC(R_VE_CALL_LO32,    36)
49