Lines Matching full:elf

1 //===-- X86ELFObjectWriter.cpp - X86 ELF Writer ---------------------------===//
15 #include "llvm/Support/ELF.h"
37 /*HasRelocationAddend*/ EMachine != ELF::EM_386) {} in X86ELFObjectWriter()
85 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64; in getRelocType64()
87 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32; in getRelocType64()
89 return ELF::R_X86_64_32S; in getRelocType64()
91 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16; in getRelocType64()
93 return IsPCRel ? ELF::R_X86_64_PC8 : ELF::R_X86_64_8; in getRelocType64()
98 return IsPCRel ? ELF::R_X86_64_GOTPC64 : ELF::R_X86_64_GOT64; in getRelocType64()
100 return IsPCRel ? ELF::R_X86_64_GOTPC32 : ELF::R_X86_64_GOT32; in getRelocType64()
109 return ELF::R_X86_64_GOTOFF64; in getRelocType64()
114 return ELF::R_X86_64_TPOFF64; in getRelocType64()
116 return ELF::R_X86_64_TPOFF32; in getRelocType64()
126 return ELF::R_X86_64_DTPOFF64; in getRelocType64()
128 return ELF::R_X86_64_DTPOFF32; in getRelocType64()
138 return ELF::R_X86_64_SIZE64; in getRelocType64()
140 return ELF::R_X86_64_SIZE32; in getRelocType64()
148 return ELF::R_X86_64_TLSGD; in getRelocType64()
151 return ELF::R_X86_64_GOTTPOFF; in getRelocType64()
154 return ELF::R_X86_64_TLSLD; in getRelocType64()
157 return ELF::R_X86_64_PLT32; in getRelocType64()
160 return ELF::R_X86_64_GOTPCREL; in getRelocType64()
189 return IsPCRel ? ELF::R_386_PC32 : ELF::R_386_32; in getRelocType32()
191 return IsPCRel ? ELF::R_386_PC16 : ELF::R_386_16; in getRelocType32()
193 return IsPCRel ? ELF::R_386_PC8 : ELF::R_386_8; in getRelocType32()
197 return IsPCRel ? ELF::R_386_GOTPC : ELF::R_386_GOT32; in getRelocType32()
201 return ELF::R_386_GOTOFF; in getRelocType32()
205 return ELF::R_386_TLS_LE_32; in getRelocType32()
209 return ELF::R_386_TLS_LDO_32; in getRelocType32()
213 return ELF::R_386_TLS_GD; in getRelocType32()
217 return ELF::R_386_TLS_IE_32; in getRelocType32()
220 return ELF::R_386_PLT32; in getRelocType32()
224 return ELF::R_386_TLS_IE; in getRelocType32()
228 return ELF::R_386_TLS_LE; in getRelocType32()
232 return ELF::R_386_TLS_GOTIE; in getRelocType32()
236 return ELF::R_386_TLS_LDM; in getRelocType32()
245 if (getEMachine() == ELF::EM_X86_64) in GetRelocType()
248 assert(getEMachine() == ELF::EM_386 && "Unsupported ELF machine type."); in GetRelocType()