Lines Matching refs:Addend
50 void write32BitOffset(uint8_t *Target, int64_t Addend, uint64_t Delta) {
51 uint64_t Result = Addend + Delta;
84 // the symbol resides (RE.Addend provides additional information about the
104 uint64_t Result = Value + RE.Addend;
121 write32BitOffset(Target, RE.Addend, Value - ImageBase);
127 writeBytesUnaligned(Value + RE.Addend, Target, 8);
132 assert(static_cast<int64_t>(RE.Addend) <= INT32_MAX && "Relocation overflow");
133 assert(static_cast<int64_t>(RE.Addend) >= INT32_MIN && "Relocation underflow");
134 writeBytesUnaligned(RE.Addend, Target, 4);
146 uint64_t Offset, uint64_t RelType, uint64_t Addend,
154 OriginalRelValueRef.Addend = Addend;
179 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
183 Addend = 0;
187 return std::make_tuple(Offset, RelType, Addend);
208 // Determine the Addend used to adjust the relocation value.
211 uint64_t Addend = 0;
248 Addend = readBytesUnaligned(Displacement, 4);
251 std::tie(Offset, RelType, Addend) = generateRelocationStub(
252 SectionID, TargetName, Offset, RelType, Addend, Stubs);
259 Addend = readBytesUnaligned(Displacement, 8);
269 << TargetName << " Addend " << Addend << "\n");
272 RelocationEntry RE(SectionID, Offset, RelType, Addend);
275 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend);