OSDN Git Service

Update aosp/master LLVM for rebase to r239765
[android-x86/external-llvm.git] / include / llvm / Support / ELFRelocs / Mips.def
1
2 #ifndef ELF_RELOC
3 #error "ELF_RELOC must be defined"
4 #endif
5
6 ELF_RELOC(R_MIPS_NONE,                0)
7 ELF_RELOC(R_MIPS_16,                  1)
8 ELF_RELOC(R_MIPS_32,                  2)
9 ELF_RELOC(R_MIPS_REL32,               3)
10 ELF_RELOC(R_MIPS_26,                  4)
11 ELF_RELOC(R_MIPS_HI16,                5)
12 ELF_RELOC(R_MIPS_LO16,                6)
13 ELF_RELOC(R_MIPS_GPREL16,             7)
14 ELF_RELOC(R_MIPS_LITERAL,             8)
15 ELF_RELOC(R_MIPS_GOT16,               9)
16 ELF_RELOC(R_MIPS_PC16,               10)
17 ELF_RELOC(R_MIPS_CALL16,             11)
18 ELF_RELOC(R_MIPS_GPREL32,            12)
19 ELF_RELOC(R_MIPS_UNUSED1,            13)
20 ELF_RELOC(R_MIPS_UNUSED2,            14)
21 ELF_RELOC(R_MIPS_UNUSED3,            15)
22 ELF_RELOC(R_MIPS_SHIFT5,             16)
23 ELF_RELOC(R_MIPS_SHIFT6,             17)
24 ELF_RELOC(R_MIPS_64,                 18)
25 ELF_RELOC(R_MIPS_GOT_DISP,           19)
26 ELF_RELOC(R_MIPS_GOT_PAGE,           20)
27 ELF_RELOC(R_MIPS_GOT_OFST,           21)
28 ELF_RELOC(R_MIPS_GOT_HI16,           22)
29 ELF_RELOC(R_MIPS_GOT_LO16,           23)
30 ELF_RELOC(R_MIPS_SUB,                24)
31 ELF_RELOC(R_MIPS_INSERT_A,           25)
32 ELF_RELOC(R_MIPS_INSERT_B,           26)
33 ELF_RELOC(R_MIPS_DELETE,             27)
34 ELF_RELOC(R_MIPS_HIGHER,             28)
35 ELF_RELOC(R_MIPS_HIGHEST,            29)
36 ELF_RELOC(R_MIPS_CALL_HI16,          30)
37 ELF_RELOC(R_MIPS_CALL_LO16,          31)
38 ELF_RELOC(R_MIPS_SCN_DISP,           32)
39 ELF_RELOC(R_MIPS_REL16,              33)
40 ELF_RELOC(R_MIPS_ADD_IMMEDIATE,      34)
41 ELF_RELOC(R_MIPS_PJUMP,              35)
42 ELF_RELOC(R_MIPS_RELGOT,             36)
43 ELF_RELOC(R_MIPS_JALR,               37)
44 ELF_RELOC(R_MIPS_TLS_DTPMOD32,       38)
45 ELF_RELOC(R_MIPS_TLS_DTPREL32,       39)
46 ELF_RELOC(R_MIPS_TLS_DTPMOD64,       40)
47 ELF_RELOC(R_MIPS_TLS_DTPREL64,       41)
48 ELF_RELOC(R_MIPS_TLS_GD,             42)
49 ELF_RELOC(R_MIPS_TLS_LDM,            43)
50 ELF_RELOC(R_MIPS_TLS_DTPREL_HI16,    44)
51 ELF_RELOC(R_MIPS_TLS_DTPREL_LO16,    45)
52 ELF_RELOC(R_MIPS_TLS_GOTTPREL,       46)
53 ELF_RELOC(R_MIPS_TLS_TPREL32,        47)
54 ELF_RELOC(R_MIPS_TLS_TPREL64,        48)
55 ELF_RELOC(R_MIPS_TLS_TPREL_HI16,     49)
56 ELF_RELOC(R_MIPS_TLS_TPREL_LO16,     50)
57 ELF_RELOC(R_MIPS_GLOB_DAT,           51)
58 ELF_RELOC(R_MIPS_PC21_S2,            60)
59 ELF_RELOC(R_MIPS_PC26_S2,            61)
60 ELF_RELOC(R_MIPS_PC18_S3,            62)
61 ELF_RELOC(R_MIPS_PC19_S2,            63)
62 ELF_RELOC(R_MIPS_PCHI16,             64)
63 ELF_RELOC(R_MIPS_PCLO16,             65)
64 ELF_RELOC(R_MIPS16_26,               100)
65 ELF_RELOC(R_MIPS16_GPREL,            101)
66 ELF_RELOC(R_MIPS16_GOT16,            102)
67 ELF_RELOC(R_MIPS16_CALL16,           103)
68 ELF_RELOC(R_MIPS16_HI16,             104)
69 ELF_RELOC(R_MIPS16_LO16,             105)
70 ELF_RELOC(R_MIPS16_TLS_GD,           106)
71 ELF_RELOC(R_MIPS16_TLS_LDM,          107)
72 ELF_RELOC(R_MIPS16_TLS_DTPREL_HI16,  108)
73 ELF_RELOC(R_MIPS16_TLS_DTPREL_LO16,  109)
74 ELF_RELOC(R_MIPS16_TLS_GOTTPREL,     110)
75 ELF_RELOC(R_MIPS16_TLS_TPREL_HI16,   111)
76 ELF_RELOC(R_MIPS16_TLS_TPREL_LO16,   112)
77 ELF_RELOC(R_MIPS_COPY,               126)
78 ELF_RELOC(R_MIPS_JUMP_SLOT,          127)
79 ELF_RELOC(R_MICROMIPS_26_S1,         133)
80 ELF_RELOC(R_MICROMIPS_HI16,          134)
81 ELF_RELOC(R_MICROMIPS_LO16,          135)
82 ELF_RELOC(R_MICROMIPS_GPREL16,       136)
83 ELF_RELOC(R_MICROMIPS_LITERAL,       137)
84 ELF_RELOC(R_MICROMIPS_GOT16,         138)
85 ELF_RELOC(R_MICROMIPS_PC7_S1,        139)
86 ELF_RELOC(R_MICROMIPS_PC10_S1,       140)
87 ELF_RELOC(R_MICROMIPS_PC16_S1,       141)
88 ELF_RELOC(R_MICROMIPS_CALL16,        142)
89 ELF_RELOC(R_MICROMIPS_GOT_DISP,      145)
90 ELF_RELOC(R_MICROMIPS_GOT_PAGE,      146)
91 ELF_RELOC(R_MICROMIPS_GOT_OFST,      147)
92 ELF_RELOC(R_MICROMIPS_GOT_HI16,      148)
93 ELF_RELOC(R_MICROMIPS_GOT_LO16,      149)
94 ELF_RELOC(R_MICROMIPS_SUB,           150)
95 ELF_RELOC(R_MICROMIPS_HIGHER,        151)
96 ELF_RELOC(R_MICROMIPS_HIGHEST,       152)
97 ELF_RELOC(R_MICROMIPS_CALL_HI16,     153)
98 ELF_RELOC(R_MICROMIPS_CALL_LO16,     154)
99 ELF_RELOC(R_MICROMIPS_SCN_DISP,      155)
100 ELF_RELOC(R_MICROMIPS_JALR,          156)
101 ELF_RELOC(R_MICROMIPS_HI0_LO16,      157)
102 ELF_RELOC(R_MICROMIPS_TLS_GD,           162)
103 ELF_RELOC(R_MICROMIPS_TLS_LDM,          163)
104 ELF_RELOC(R_MICROMIPS_TLS_DTPREL_HI16,  164)
105 ELF_RELOC(R_MICROMIPS_TLS_DTPREL_LO16,  165)
106 ELF_RELOC(R_MICROMIPS_TLS_GOTTPREL,     166)
107 ELF_RELOC(R_MICROMIPS_TLS_TPREL_HI16,   169)
108 ELF_RELOC(R_MICROMIPS_TLS_TPREL_LO16,   170)
109 ELF_RELOC(R_MICROMIPS_GPREL7_S2,        172)
110 ELF_RELOC(R_MICROMIPS_PC23_S2,          173)
111 ELF_RELOC(R_MICROMIPS_PC21_S2,          174)
112 ELF_RELOC(R_MICROMIPS_PC26_S2,          175)
113 ELF_RELOC(R_MICROMIPS_PC18_S3,          176)
114 ELF_RELOC(R_MICROMIPS_PC19_S2,          177)
115 ELF_RELOC(R_MIPS_NUM,                218)
116 ELF_RELOC(R_MIPS_PC32,               248)
117 ELF_RELOC(R_MIPS_EH,                 249)