Lines Matching full:addend
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation()
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
31 uint64_t Addend) { in evaluateRelocation() argument
35 Addend, RE.SymOffset, RE.SectionID); in evaluateRelocation()
110 int64_t Addend, uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument
117 << format("%x", Type) << " Addend: 0x" in evaluateMIPS64Relocation()
118 << format("%llx", Addend) in evaluateMIPS64Relocation()
132 return Value + Addend; in evaluateMIPS64Relocation()
134 return ((Value + Addend) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation()
137 return Value + Addend - (GOTAddr + 0x7ff0); in evaluateMIPS64Relocation()
140 return Value - Addend; in evaluateMIPS64Relocation()
143 return ((Value + Addend + 0x8000) >> 16) & 0xffff; in evaluateMIPS64Relocation()
145 return (Value + Addend) & 0xffff; in evaluateMIPS64Relocation()
147 return ((Value + Addend + 0x80008000) >> 32) & 0xffff; in evaluateMIPS64Relocation()
149 return ((Value + Addend + 0x800080008000) >> 48) & 0xffff; in evaluateMIPS64Relocation()
157 Value += Addend; in evaluateMIPS64Relocation()
170 int64_t page = (Value + Addend + 0x8000) & ~0xffff; in evaluateMIPS64Relocation()
171 return (Value + Addend - page) & 0xffff; in evaluateMIPS64Relocation()
175 return Value + Addend - (GOTAddr + 0x7ff0); in evaluateMIPS64Relocation()
179 return ((Value + Addend - FinalAddress) >> 2) & 0xffff; in evaluateMIPS64Relocation()
183 return Value + Addend - FinalAddress; in evaluateMIPS64Relocation()
187 return ((Value + Addend - (FinalAddress & ~0x7)) >> 3) & 0x3ffff; in evaluateMIPS64Relocation()
191 return ((Value + Addend - (FinalAddress & ~0x3)) >> 2) & 0x7ffff; in evaluateMIPS64Relocation()
195 return ((Value + Addend - FinalAddress) >> 2) & 0x1fffff; in evaluateMIPS64Relocation()
199 return ((Value + Addend - FinalAddress) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation()
203 return ((Value + Addend - FinalAddress + 0x8000) >> 16) & 0xffff; in evaluateMIPS64Relocation()
207 return (Value + Addend - FinalAddress) & 0xffff; in evaluateMIPS64Relocation()
267 int64_t Addend, uint64_t SymOffset, SID SectionID) { in resolveMIPSN32Relocation() argument
269 Section, Offset, Value, Type, Addend, SymOffset, SectionID); in resolveMIPSN32Relocation()
276 int64_t Addend, uint64_t SymOffset, SID SectionID) { in resolveMIPSN64Relocation() argument
285 RelType, Addend, in resolveMIPSN64Relocation()
306 int32_t Addend) { in resolveMIPSO32Relocation() argument
308 Value += Addend; in resolveMIPSO32Relocation()
314 << format("%x", Type) << " Addend: " << format("%x", Addend) in resolveMIPSO32Relocation()