Lines Matching refs:Addend

225                                              uint32_t Type, int64_t Addend,
232 support::ulittle64_t::ref(Section.Address + Offset) = Value + Addend;
233 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at "
239 Value += Addend;
255 int64_t RealOffset = Value + Addend - FinalAddress;
270 int64_t RealOffset = Value + Addend - FinalAddress;
281 uint32_t Type, int32_t Addend) {
289 Placeholder + Value + Addend;
298 uint32_t RealOffset = Placeholder + Value + Addend - FinalAddress;
312 uint32_t Type, int64_t Addend) {
320 << format("%x", Type) << " Addend: 0x" << format("%llx", Addend)
330 *TargetPtr = Value + Addend;
334 uint64_t Result = Value + Addend - FinalAddress;
344 uint64_t BranchImm = Value + Addend - FinalAddress;
358 uint64_t Result = Value + Addend;
370 uint64_t Result = Value + Addend;
382 uint64_t Result = Value + Addend;
394 uint64_t Result = Value + Addend;
408 ((Value + Addend) & ~0xfffULL) - (FinalAddress & ~0xfffULL);
426 uint64_t Result = Value + Addend;
438 uint64_t Result = Value + Addend;
453 uint32_t Type, int32_t Addend) {
459 Value += Addend;
465 << " Addend: " << format("%x", Addend) << "\n");
525 uint32_t Type, int32_t Addend) {
529 Value += Addend;
535 << " Addend: " << format("%x", Addend) << "\n");
602 Rel.Addend = 0x8000;
638 int64_t Addend;
639 check(getELFRelocationAddend(*i, Addend));
654 if (Rel.Addend != (int64_t)TargetSymbolOffset)
661 Rel.Addend = (intptr_t)Addend;
701 uint32_t Type, int64_t Addend) {
708 writeInt16BE(LocalAddress, applyPPClo(Value + Addend));
711 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3);
714 writeInt16BE(LocalAddress, applyPPClo(Value + Addend));
717 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3);
720 writeInt16BE(LocalAddress, applyPPChi(Value + Addend));
723 writeInt16BE(LocalAddress, applyPPCha(Value + Addend));
726 writeInt16BE(LocalAddress, applyPPChigher(Value + Addend));
729 writeInt16BE(LocalAddress, applyPPChighera(Value + Addend));
732 writeInt16BE(LocalAddress, applyPPChighest(Value + Addend));
735 writeInt16BE(LocalAddress, applyPPChighesta(Value + Addend));
738 assert(((Value + Addend) & 3) == 0);
741 writeInt16BE(LocalAddress + 2, (aalk & 3) | ((Value + Addend) & 0xfffc));
745 uint64_t Delta = Value - FinalAddress + Addend;
750 uint64_t Delta = Value - FinalAddress + Addend;
755 uint64_t Delta = Value - FinalAddress + Addend;
759 int32_t Result = static_cast<int32_t>(Value + Addend);
766 int32_t delta = static_cast<int32_t>(Value - FinalAddress + Addend);
774 int32_t delta = static_cast<int32_t>(Value - FinalAddress + Addend);
781 uint64_t Delta = Value - FinalAddress + Addend;
785 writeInt64BE(LocalAddress, Value + Addend);
792 uint32_t Type, int64_t Addend) {
800 int64_t Delta = (Value + Addend) - (Section.LoadAddress + Offset);
807 int64_t Delta = (Value + Addend) - (Section.LoadAddress + Offset);
813 int64_t Delta = (Value + Addend) - (Section.LoadAddress + Offset);
819 writeInt64BE(LocalAddress, Value + Addend);
841 // the symbol resides (RE.Addend provides additional information about the
847 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend,
853 uint32_t Type, int64_t Addend,
857 resolveX86_64Relocation(Section, Offset, Value, Type, Addend, SymOffset);
861 (uint32_t)(Addend & 0xffffffffL));
865 resolveAArch64Relocation(Section, Offset, Value, Type, Addend);
872 (uint32_t)(Addend & 0xffffffffL));
877 Type, (uint32_t)(Addend & 0xffffffffL));
881 resolvePPC64Relocation(Section, Offset, Value, Type, Addend);
884 resolveSystemZRelocation(Section, Offset, Value, Type, Addend);
898 int64_t Addend;
899 Check(getELFRelocationAddend(*RelI, Addend));
906 DEBUG(dbgs() << "\t\tRelType: " << RelType << " Addend: " << Addend
922 Value.Addend = SymInfo.getOffset() + Addend;
936 Value.Addend = Addend;
942 Value.Addend = Addend;
983 ELF::R_AARCH64_MOVW_UABS_G3, Value.Addend);
985 ELF::R_AARCH64_MOVW_UABS_G2_NC, Value.Addend);
987 ELF::R_AARCH64_MOVW_UABS_G1_NC, Value.Addend);
990 ELF::R_AARCH64_MOVW_UABS_G0_NC, Value.Addend);
1028 ELF::R_ARM_PRIVATE_0, Value.Addend);
1048 uint32_t Addend = ((*TargetAddress) & 0x03ffffff) << 2;
1050 Value.Addend += Addend;
1067 ELF::R_MIPS_UNUSED1, Value.Addend);
1069 ELF::R_MIPS_UNUSED2, Value.Addend);
1106 Value.Addend += ELF::decodePPC64LocalEntryOffset(SymOther);
1108 uint8_t *RelocTarget = Sections[Value.SectionID].Address + Value.Addend;
1112 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1138 ELF::R_PPC64_ADDR64, Value.Addend);
1149 ELF::R_PPC64_ADDR16_HIGHEST, Value.Addend);
1151 ELF::R_PPC64_ADDR16_HIGHER, Value.Addend);
1153 ELF::R_PPC64_ADDR16_HI, Value.Addend);
1155 ELF::R_PPC64_ADDR16_LO, Value.Addend);
1212 Value.Addend -= TOCValue.Addend;
1213 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0);
1224 Value.Addend += Addend;
1227 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1277 Addend);
1279 resolveRelocation(Section, Offset, StubAddress, RelType, Addend);
1334 Addend);
1336 RelocationEntry RE(SectionID, Offset, ELF::R_X86_64_PC32, Value.Addend,
1342 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend);
1351 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset);