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()
122 Type = ELF::R_PPC_REL32; in getRelocType()
126 Type = ELF::R_PPC64_REL64; in getRelocType()
133 Type = ELF::R_PPC_ADDR24; in getRelocType()
136 Type = ELF::R_PPC_ADDR14; // XXX: or BRNTAKEN?_ in getRelocType()
142 Type = ELF::R_PPC_ADDR16; in getRelocType()
145 Type = ELF::R_PPC_ADDR16_LO; in getRelocType()
148 Type = ELF::R_PPC_ADDR16_HI; in getRelocType()
151 Type = ELF::R_PPC_ADDR16_HA; in getRelocType()
154 Type = ELF::R_PPC64_ADDR16_HIGHER; in getRelocType()
157 Type = ELF::R_PPC64_ADDR16_HIGHERA; in getRelocType()
160 Type = ELF::R_PPC64_ADDR16_HIGHEST; in getRelocType()
163 Type = ELF::R_PPC64_ADDR16_HIGHESTA; in getRelocType()
166 Type = ELF::R_PPC_GOT16; in getRelocType()
169 Type = ELF::R_PPC_GOT16_LO; in getRelocType()
172 Type = ELF::R_PPC_GOT16_HI; in getRelocType()
175 Type = ELF::R_PPC_GOT16_HA; in getRelocType()
178 Type = ELF::R_PPC64_TOC16; in getRelocType()
181 Type = ELF::R_PPC64_TOC16_LO; in getRelocType()
184 Type = ELF::R_PPC64_TOC16_HI; in getRelocType()
187 Type = ELF::R_PPC64_TOC16_HA; in getRelocType()
190 Type = ELF::R_PPC_TPREL16; in getRelocType()
193 Type = ELF::R_PPC_TPREL16_LO; in getRelocType()
196 Type = ELF::R_PPC_TPREL16_HI; in getRelocType()
199 Type = ELF::R_PPC_TPREL16_HA; in getRelocType()
202 Type = ELF::R_PPC64_TPREL16_HIGHER; in getRelocType()
205 Type = ELF::R_PPC64_TPREL16_HIGHERA; in getRelocType()
208 Type = ELF::R_PPC64_TPREL16_HIGHEST; in getRelocType()
211 Type = ELF::R_PPC64_TPREL16_HIGHESTA; in getRelocType()
214 Type = ELF::R_PPC64_DTPREL16; in getRelocType()
217 Type = ELF::R_PPC64_DTPREL16_LO; in getRelocType()
220 Type = ELF::R_PPC64_DTPREL16_HI; in getRelocType()
223 Type = ELF::R_PPC64_DTPREL16_HA; in getRelocType()
226 Type = ELF::R_PPC64_DTPREL16_HIGHER; in getRelocType()
229 Type = ELF::R_PPC64_DTPREL16_HIGHERA; in getRelocType()
232 Type = ELF::R_PPC64_DTPREL16_HIGHEST; in getRelocType()
235 Type = ELF::R_PPC64_DTPREL16_HIGHESTA; in getRelocType()
239 Type = ELF::R_PPC64_GOT_TLSGD16; in getRelocType()
241 Type = ELF::R_PPC_GOT_TLSGD16; in getRelocType()
244 Type = ELF::R_PPC64_GOT_TLSGD16_LO; in getRelocType()
247 Type = ELF::R_PPC64_GOT_TLSGD16_HI; in getRelocType()
250 Type = ELF::R_PPC64_GOT_TLSGD16_HA; in getRelocType()
254 Type = ELF::R_PPC64_GOT_TLSLD16; in getRelocType()
256 Type = ELF::R_PPC_GOT_TLSLD16; in getRelocType()
259 Type = ELF::R_PPC64_GOT_TLSLD16_LO; in getRelocType()
262 Type = ELF::R_PPC64_GOT_TLSLD16_HI; in getRelocType()
265 Type = ELF::R_PPC64_GOT_TLSLD16_HA; in getRelocType()
270 Type = ELF::R_PPC64_GOT_TPREL16_DS; in getRelocType()
275 Type = ELF::R_PPC64_GOT_TPREL16_LO_DS; in getRelocType()
278 Type = ELF::R_PPC64_GOT_TPREL16_HI; in getRelocType()
283 Type = ELF::R_PPC64_GOT_DTPREL16_DS; in getRelocType()
288 Type = ELF::R_PPC64_GOT_DTPREL16_LO_DS; in getRelocType()
291 Type = ELF::R_PPC64_GOT_TPREL16_HA; in getRelocType()
294 Type = ELF::R_PPC64_GOT_DTPREL16_HI; in getRelocType()
297 Type = ELF::R_PPC64_GOT_DTPREL16_HA; in getRelocType()
305 Type = ELF::R_PPC64_ADDR16_DS; in getRelocType()
308 Type = ELF::R_PPC64_ADDR16_LO_DS; in getRelocType()
311 Type = ELF::R_PPC64_GOT16_DS; in getRelocType()
314 Type = ELF::R_PPC64_GOT16_LO_DS; in getRelocType()
317 Type = ELF::R_PPC64_TOC16_DS; in getRelocType()
320 Type = ELF::R_PPC64_TOC16_LO_DS; in getRelocType()
323 Type = ELF::R_PPC64_TPREL16_DS; in getRelocType()
326 Type = ELF::R_PPC64_TPREL16_LO_DS; in getRelocType()
329 Type = ELF::R_PPC64_DTPREL16_DS; in getRelocType()
332 Type = ELF::R_PPC64_DTPREL16_LO_DS; in getRelocType()
335 Type = ELF::R_PPC64_GOT_TPREL16_DS; in getRelocType()
338 Type = ELF::R_PPC64_GOT_TPREL16_LO_DS; in getRelocType()
341 Type = ELF::R_PPC64_GOT_DTPREL16_DS; in getRelocType()
344 Type = ELF::R_PPC64_GOT_DTPREL16_LO_DS; in getRelocType()
353 Type = ELF::R_PPC64_TLSGD; in getRelocType()
355 Type = ELF::R_PPC_TLSGD; in getRelocType()
359 Type = ELF::R_PPC64_TLSLD; in getRelocType()
361 Type = ELF::R_PPC_TLSLD; in getRelocType()
365 Type = ELF::R_PPC64_TLS; in getRelocType()
367 Type = ELF::R_PPC_TLS; in getRelocType()
375 Type = ELF::R_PPC64_TOC; in getRelocType()
378 Type = ELF::R_PPC64_ADDR64; in getRelocType()
381 Type = ELF::R_PPC64_DTPMOD64; in getRelocType()
384 Type = ELF::R_PPC64_TPREL64; in getRelocType()
387 Type = ELF::R_PPC64_DTPREL64; in getRelocType()
392 Type = ELF::R_PPC_ADDR32; in getRelocType()
395 Type = ELF::R_PPC_ADDR16; in getRelocType()
408 case ELF::R_PPC_REL24: in needsRelocateWithSymbol()
415 return (Other & ELF::STO_PPC64_LOCAL_MASK) != 0; in needsRelocateWithSymbol()