Lines Matching full:elf

1 //===-- PPCELFObjectWriter.cpp - PPC ELF Writer ---------------------------===//
38 Is64Bit ? ELF::EM_PPC64 : ELF::EM_PPC, in PPCELFObjectWriter()
85 Type = ELF::R_PPC_REL24; in GetRelocType()
88 Type = ELF::R_PPC_PLTREL24; in GetRelocType()
91 Type = ELF::R_PPC_LOCAL24PC; in GetRelocType()
97 Type = ELF::R_PPC_REL14; in GetRelocType()
103 Type = ELF::R_PPC_REL16; in GetRelocType()
106 Type = ELF::R_PPC_REL16_LO; in GetRelocType()
109 Type = ELF::R_PPC_REL16_HI; in GetRelocType()
112 Type = ELF::R_PPC_REL16_HA; in GetRelocType()
118 Type = ELF::R_PPC_REL32; in GetRelocType()
122 Type = ELF::R_PPC64_REL64; in GetRelocType()
129 Type = ELF::R_PPC_ADDR24; in GetRelocType()
132 Type = ELF::R_PPC_ADDR14; // XXX: or BRNTAKEN?_ in GetRelocType()
138 Type = ELF::R_PPC_ADDR16; in GetRelocType()
141 Type = ELF::R_PPC_ADDR16_LO; in GetRelocType()
144 Type = ELF::R_PPC_ADDR16_HI; in GetRelocType()
147 Type = ELF::R_PPC_ADDR16_HA; in GetRelocType()
150 Type = ELF::R_PPC64_ADDR16_HIGHER; in GetRelocType()
153 Type = ELF::R_PPC64_ADDR16_HIGHERA; in GetRelocType()
156 Type = ELF::R_PPC64_ADDR16_HIGHEST; in GetRelocType()
159 Type = ELF::R_PPC64_ADDR16_HIGHESTA; in GetRelocType()
162 Type = ELF::R_PPC_GOT16; in GetRelocType()
165 Type = ELF::R_PPC_GOT16_LO; in GetRelocType()
168 Type = ELF::R_PPC_GOT16_HI; in GetRelocType()
171 Type = ELF::R_PPC_GOT16_HA; in GetRelocType()
174 Type = ELF::R_PPC64_TOC16; in GetRelocType()
177 Type = ELF::R_PPC64_TOC16_LO; in GetRelocType()
180 Type = ELF::R_PPC64_TOC16_HI; in GetRelocType()
183 Type = ELF::R_PPC64_TOC16_HA; in GetRelocType()
186 Type = ELF::R_PPC_TPREL16; in GetRelocType()
189 Type = ELF::R_PPC_TPREL16_LO; in GetRelocType()
192 Type = ELF::R_PPC_TPREL16_HI; in GetRelocType()
195 Type = ELF::R_PPC_TPREL16_HA; in GetRelocType()
198 Type = ELF::R_PPC64_TPREL16_HIGHER; in GetRelocType()
201 Type = ELF::R_PPC64_TPREL16_HIGHERA; in GetRelocType()
204 Type = ELF::R_PPC64_TPREL16_HIGHEST; in GetRelocType()
207 Type = ELF::R_PPC64_TPREL16_HIGHESTA; in GetRelocType()
210 Type = ELF::R_PPC64_DTPREL16; in GetRelocType()
213 Type = ELF::R_PPC64_DTPREL16_LO; in GetRelocType()
216 Type = ELF::R_PPC64_DTPREL16_HI; in GetRelocType()
219 Type = ELF::R_PPC64_DTPREL16_HA; in GetRelocType()
222 Type = ELF::R_PPC64_DTPREL16_HIGHER; in GetRelocType()
225 Type = ELF::R_PPC64_DTPREL16_HIGHERA; in GetRelocType()
228 Type = ELF::R_PPC64_DTPREL16_HIGHEST; in GetRelocType()
231 Type = ELF::R_PPC64_DTPREL16_HIGHESTA; in GetRelocType()
235 Type = ELF::R_PPC64_GOT_TLSGD16; in GetRelocType()
237 Type = ELF::R_PPC_GOT_TLSGD16; in GetRelocType()
240 Type = ELF::R_PPC64_GOT_TLSGD16_LO; in GetRelocType()
243 Type = ELF::R_PPC64_GOT_TLSGD16_HI; in GetRelocType()
246 Type = ELF::R_PPC64_GOT_TLSGD16_HA; in GetRelocType()
250 Type = ELF::R_PPC64_GOT_TLSLD16; in GetRelocType()
252 Type = ELF::R_PPC_GOT_TLSLD16; in GetRelocType()
255 Type = ELF::R_PPC64_GOT_TLSLD16_LO; in GetRelocType()
258 Type = ELF::R_PPC64_GOT_TLSLD16_HI; in GetRelocType()
261 Type = ELF::R_PPC64_GOT_TLSLD16_HA; in GetRelocType()
266 Type = ELF::R_PPC64_GOT_TPREL16_DS; in GetRelocType()
271 Type = ELF::R_PPC64_GOT_TPREL16_LO_DS; in GetRelocType()
274 Type = ELF::R_PPC64_GOT_TPREL16_HI; in GetRelocType()
279 Type = ELF::R_PPC64_GOT_DTPREL16_DS; in GetRelocType()
284 Type = ELF::R_PPC64_GOT_DTPREL16_LO_DS; in GetRelocType()
287 Type = ELF::R_PPC64_GOT_TPREL16_HA; in GetRelocType()
290 Type = ELF::R_PPC64_GOT_DTPREL16_HI; in GetRelocType()
293 Type = ELF::R_PPC64_GOT_DTPREL16_HA; in GetRelocType()
301 Type = ELF::R_PPC64_ADDR16_DS; in GetRelocType()
304 Type = ELF::R_PPC64_ADDR16_LO_DS; in GetRelocType()
307 Type = ELF::R_PPC64_GOT16_DS; in GetRelocType()
310 Type = ELF::R_PPC64_GOT16_LO_DS; in GetRelocType()
313 Type = ELF::R_PPC64_TOC16_DS; in GetRelocType()
316 Type = ELF::R_PPC64_TOC16_LO_DS; in GetRelocType()
319 Type = ELF::R_PPC64_TPREL16_DS; in GetRelocType()
322 Type = ELF::R_PPC64_TPREL16_LO_DS; in GetRelocType()
325 Type = ELF::R_PPC64_DTPREL16_DS; in GetRelocType()
328 Type = ELF::R_PPC64_DTPREL16_LO_DS; in GetRelocType()
331 Type = ELF::R_PPC64_GOT_TPREL16_DS; in GetRelocType()
334 Type = ELF::R_PPC64_GOT_TPREL16_LO_DS; in GetRelocType()
337 Type = ELF::R_PPC64_GOT_DTPREL16_DS; in GetRelocType()
340 Type = ELF::R_PPC64_GOT_DTPREL16_LO_DS; in GetRelocType()
349 Type = ELF::R_PPC64_TLSGD; in GetRelocType()
351 Type = ELF::R_PPC_TLSGD; in GetRelocType()
355 Type = ELF::R_PPC64_TLSLD; in GetRelocType()
357 Type = ELF::R_PPC_TLSLD; in GetRelocType()
361 Type = ELF::R_PPC64_TLS; in GetRelocType()
363 Type = ELF::R_PPC_TLS; in GetRelocType()
371 Type = ELF::R_PPC64_TOC; in GetRelocType()
374 Type = ELF::R_PPC64_ADDR64; in GetRelocType()
377 Type = ELF::R_PPC64_DTPMOD64; in GetRelocType()
380 Type = ELF::R_PPC64_TPREL64; in GetRelocType()
383 Type = ELF::R_PPC64_DTPREL64; in GetRelocType()
388 Type = ELF::R_PPC_ADDR32; in GetRelocType()
391 Type = ELF::R_PPC_ADDR16; in GetRelocType()
404 case ELF::R_PPC_REL24: in needsRelocateWithSymbol()
411 return (Other & ELF::STO_PPC64_LOCAL_MASK) != 0; in needsRelocateWithSymbol()