Lines Matching refs:ELF
57 : MCELFObjectTargetWriter(_is64Bit, OSABI, ELF::EM_MIPS, in MipsELFObjectWriter()
84 unsigned Type = (unsigned)ELF::R_MIPS_NONE; in GetRelocType()
91 Type = ELF::R_MIPS_32; in GetRelocType()
94 Type = ELF::R_MIPS_64; in GetRelocType()
98 Type = setRType((unsigned)ELF::R_MIPS_GPREL32, Type); in GetRelocType()
99 Type = setRType2((unsigned)ELF::R_MIPS_64, Type); in GetRelocType()
100 Type = setRType3((unsigned)ELF::R_MIPS_NONE, Type); in GetRelocType()
103 Type = ELF::R_MIPS_GPREL32; in GetRelocType()
106 Type = ELF::R_MIPS_GPREL16; in GetRelocType()
109 Type = ELF::R_MIPS_26; in GetRelocType()
112 Type = ELF::R_MIPS_CALL16; in GetRelocType()
116 Type = ELF::R_MIPS_GOT16; in GetRelocType()
119 Type = ELF::R_MIPS_HI16; in GetRelocType()
122 Type = ELF::R_MIPS_LO16; in GetRelocType()
125 Type = ELF::R_MIPS_TLS_GD; in GetRelocType()
128 Type = ELF::R_MIPS_TLS_GOTTPREL; in GetRelocType()
131 Type = ELF::R_MIPS_TLS_TPREL_HI16; in GetRelocType()
134 Type = ELF::R_MIPS_TLS_TPREL_LO16; in GetRelocType()
137 Type = ELF::R_MIPS_TLS_LDM; in GetRelocType()
140 Type = ELF::R_MIPS_TLS_DTPREL_HI16; in GetRelocType()
143 Type = ELF::R_MIPS_TLS_DTPREL_LO16; in GetRelocType()
147 Type = ELF::R_MIPS_PC16; in GetRelocType()
150 Type = ELF::R_MIPS_GOT_PAGE; in GetRelocType()
153 Type = ELF::R_MIPS_GOT_OFST; in GetRelocType()
156 Type = ELF::R_MIPS_GOT_DISP; in GetRelocType()
159 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in GetRelocType()
160 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in GetRelocType()
161 Type = setRType3((unsigned)ELF::R_MIPS_HI16, Type); in GetRelocType()
164 Type = setRType((unsigned)ELF::R_MIPS_GPREL16, Type); in GetRelocType()
165 Type = setRType2((unsigned)ELF::R_MIPS_SUB, Type); in GetRelocType()
166 Type = setRType3((unsigned)ELF::R_MIPS_LO16, Type); in GetRelocType()
169 Type = ELF::R_MIPS_HIGHER; in GetRelocType()
172 Type = ELF::R_MIPS_HIGHEST; in GetRelocType()
175 Type = ELF::R_MIPS_GOT_HI16; in GetRelocType()
178 Type = ELF::R_MIPS_GOT_LO16; in GetRelocType()
181 Type = ELF::R_MIPS_CALL_HI16; in GetRelocType()
184 Type = ELF::R_MIPS_CALL_LO16; in GetRelocType()
187 Type = ELF::R_MICROMIPS_26_S1; in GetRelocType()
190 Type = ELF::R_MICROMIPS_HI16; in GetRelocType()
193 Type = ELF::R_MICROMIPS_LO16; in GetRelocType()
196 Type = ELF::R_MICROMIPS_GOT16; in GetRelocType()
199 Type = ELF::R_MICROMIPS_PC16_S1; in GetRelocType()
202 Type = ELF::R_MICROMIPS_CALL16; in GetRelocType()
205 Type = ELF::R_MICROMIPS_GOT_DISP; in GetRelocType()
208 Type = ELF::R_MICROMIPS_GOT_PAGE; in GetRelocType()
211 Type = ELF::R_MICROMIPS_GOT_OFST; in GetRelocType()
214 Type = ELF::R_MICROMIPS_TLS_DTPREL_HI16; in GetRelocType()
217 Type = ELF::R_MICROMIPS_TLS_DTPREL_LO16; in GetRelocType()
220 Type = ELF::R_MICROMIPS_TLS_TPREL_HI16; in GetRelocType()
223 Type = ELF::R_MICROMIPS_TLS_TPREL_LO16; in GetRelocType()
236 return ((R.Reloc.Type == ELF::R_MIPS_GOT16) && !SD.isExternal()) || in NeedsMatchingLo()
237 (R.Reloc.Type == ELF::R_MIPS_HI16); in NeedsMatchingLo()
246 return (I->Reloc.Type == ELF::R_MIPS_LO16) && (Hi->Sym == I->Sym) && in HasMatchingLo()
289 if ((R->Reloc.Type == ELF::R_MIPS_LO16) && HasSameSymbol(*HiPos, *R) && in sortRelocs()