Lines Matching refs:ELF
1 //===-- X86ELFObjectWriter.cpp - X86 ELF Writer ---------------------------===//
15 #include "llvm/Support/ELF.h"
35 Is64Bit ? ELF::EM_X86_64 : ELF::EM_386,
56 case FK_Data_8: Type = ELF::R_X86_64_PC64; break;
57 case FK_Data_4: Type = ELF::R_X86_64_PC32; break;
58 case FK_Data_2: Type = ELF::R_X86_64_PC16; break;
62 Type = ELF::R_X86_64_PC64;
72 Type = ELF::R_X86_64_PC32;
75 Type = ELF::R_X86_64_PLT32;
78 Type = ELF::R_X86_64_GOTPCREL;
81 Type = ELF::R_X86_64_GOTTPOFF;
84 Type = ELF::R_X86_64_TLSGD;
87 Type = ELF::R_X86_64_TLSLD;
93 Type = ELF::R_X86_64_PC16;
97 Type = ELF::R_X86_64_PC8;
103 case FK_Data_8: Type = ELF::R_X86_64_64; break;
109 Type = ELF::R_X86_64_32S;
112 Type = ELF::R_X86_64_GOT32;
115 Type = ELF::R_X86_64_GOTPCREL;
118 Type = ELF::R_X86_64_TPOFF32;
121 Type = ELF::R_X86_64_DTPOFF32;
126 Type = ELF::R_X86_64_32;
128 case FK_Data_2: Type = ELF::R_X86_64_16; break;
130 case FK_Data_1: Type = ELF::R_X86_64_8; break;
139 Type = ELF::R_386_GOTPC;
149 Type = ELF::R_386_PC32;
152 Type = ELF::R_386_PLT32;
162 Type = ELF::R_386_GOTPC;
174 Type = ELF::R_386_32;
177 Type = ELF::R_386_GOT32;
180 Type = ELF::R_386_GOTOFF;
183 Type = ELF::R_386_TLS_GD;
186 Type = ELF::R_386_TLS_LE_32;
189 Type = ELF::R_386_TLS_IE;
192 Type = ELF::R_386_TLS_LE;
195 Type = ELF::R_386_TLS_GOTIE;
198 Type = ELF::R_386_TLS_LDM;
201 Type = ELF::R_386_TLS_LDO_32;
204 Type = ELF::R_386_TLS_IE_32;
208 case FK_Data_2: Type = ELF::R_386_16; break;
210 case FK_Data_1: Type = ELF::R_386_8; break;