Lines Matching refs:ELF

45                               (EMachine != ELF::EM_386) &&  in X86ELFObjectWriter()
46 (EMachine != ELF::EM_IAMCU)) {} in X86ELFObjectWriter()
107 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64; in getRelocType64()
109 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32; in getRelocType64()
111 return ELF::R_X86_64_32S; in getRelocType64()
113 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16; in getRelocType64()
115 return IsPCRel ? ELF::R_X86_64_PC8 : ELF::R_X86_64_8; in getRelocType64()
120 return IsPCRel ? ELF::R_X86_64_GOTPC64 : ELF::R_X86_64_GOT64; in getRelocType64()
122 return IsPCRel ? ELF::R_X86_64_GOTPC32 : ELF::R_X86_64_GOT32; in getRelocType64()
131 return ELF::R_X86_64_GOTOFF64; in getRelocType64()
136 return ELF::R_X86_64_TPOFF64; in getRelocType64()
138 return ELF::R_X86_64_TPOFF32; in getRelocType64()
148 return ELF::R_X86_64_DTPOFF64; in getRelocType64()
150 return ELF::R_X86_64_DTPOFF32; in getRelocType64()
160 return ELF::R_X86_64_SIZE64; in getRelocType64()
162 return ELF::R_X86_64_SIZE32; in getRelocType64()
169 return ELF::R_X86_64_TLSDESC_CALL; in getRelocType64()
171 return ELF::R_X86_64_GOTPC32_TLSDESC; in getRelocType64()
174 return ELF::R_X86_64_TLSGD; in getRelocType64()
177 return ELF::R_X86_64_GOTTPOFF; in getRelocType64()
180 return ELF::R_X86_64_TLSLD; in getRelocType64()
183 return ELF::R_X86_64_PLT32; in getRelocType64()
190 return ELF::R_X86_64_GOTPCREL; in getRelocType64()
193 return ELF::R_X86_64_GOTPCREL; in getRelocType64()
195 return ELF::R_X86_64_GOTPCRELX; in getRelocType64()
198 return ELF::R_X86_64_REX_GOTPCRELX; in getRelocType64()
231 return IsPCRel ? ELF::R_386_PC32 : ELF::R_386_32; in getRelocType32()
233 return IsPCRel ? ELF::R_386_PC16 : ELF::R_386_16; in getRelocType32()
235 return IsPCRel ? ELF::R_386_PC8 : ELF::R_386_8; in getRelocType32()
240 return ELF::R_386_GOTPC; in getRelocType32()
244 return ELF::R_386_GOT32; in getRelocType32()
246 return Kind == X86::reloc_signed_4byte_relax ? ELF::R_386_GOT32X in getRelocType32()
247 : ELF::R_386_GOT32; in getRelocType32()
251 return ELF::R_386_GOTOFF; in getRelocType32()
255 return ELF::R_386_TLS_LE_32; in getRelocType32()
259 return ELF::R_386_TLS_LDO_32; in getRelocType32()
263 return ELF::R_386_TLS_GD; in getRelocType32()
267 return ELF::R_386_TLS_IE_32; in getRelocType32()
270 return ELF::R_386_PLT32; in getRelocType32()
274 return ELF::R_386_TLS_IE; in getRelocType32()
278 return ELF::R_386_TLS_LE; in getRelocType32()
282 return ELF::R_386_TLS_GOTIE; in getRelocType32()
286 return ELF::R_386_TLS_LDM; in getRelocType32()
296 if (getEMachine() == ELF::EM_X86_64) in getRelocType()
299 assert((getEMachine() == ELF::EM_386 || getEMachine() == ELF::EM_IAMCU) && in getRelocType()