Home | History | Annotate | Download | only in RuntimeDyld

Lines Matching refs:Addend

205                                              int64_t Addend) {
212 *Target = Value + Addend;
213 DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend))
219 Value += Addend;
237 int64_t RealOffset = *Placeholder + Value + Addend - FinalAddress;
250 int32_t Addend) {
258 *Target = *Placeholder + Value + Addend;
268 uint32_t RealOffset = *Placeholder + Value + Addend - FinalAddress;
284 int64_t Addend) {
293 << " Addend: 0x" << format("%llx",Addend)
302 *TargetPtr = Value + Addend;
306 uint64_t Result = Value + Addend - FinalAddress;
316 uint64_t BranchImm = Value + Addend - FinalAddress;
330 uint64_t Result = Value + Addend;
342 uint64_t Result = Value + Addend;
355 uint64_t Result = Value + Addend;
367 uint64_t Result = Value + Addend;
385 int32_t Addend) {
391 Value += Addend;
398 << " Addend: " << format("%x",Addend)
406 // implicit addend encoded in the target.
414 // We are not expecting any other addend in the relocation address.
425 // We are not expecting any other addend in the relocation address.
446 // appropriate it here to act as an R_ARM_ABS32 without any addend for use
447 // in the stubs created during JIT (which can't put an addend into the
458 int32_t Addend) {
462 Value += Addend;
470 << " Addend: " << format("%x",Addend)
496 // R_MIPS_HI16 and R_MIPS_LO16, but they do not take any addend into
571 int64_t Addend;
572 check(getELFRelocationAddend(*i, Addend));
588 if (Rel.Addend != (intptr_t)TargetSymbolOffset)
594 Rel.Addend = (intptr_t)Addend;
633 int64_t Addend) {
640 writeInt16BE(LocalAddress, applyPPClo (Value + Addend));
643 writeInt16BE(LocalAddress, applyPPChi (Value + Addend));
646 writeInt16BE(LocalAddress, applyPPChigher (Value + Addend));
649 writeInt16BE(LocalAddress, applyPPChighest (Value + Addend));
652 assert(((Value + Addend) & 3) == 0);
655 writeInt16BE(LocalAddress + 2, (aalk & 3) | ((Value + Addend) & 0xfffc));
658 int32_t Result = static_cast<int32_t>(Value + Addend);
665 int32_t delta = static_cast<int32_t>(Value - FinalAddress + Addend);
673 int32_t delta = static_cast<int32_t>(Value - FinalAddress + Addend);
680 uint64_t Delta = Value - FinalAddress + Addend;
684 writeInt64BE(LocalAddress, Value + Addend);
691 Value = applyPPClo((Value + Addend) - TOCStart);
696 Value = ((Value + Addend) - TOCStart);
706 int64_t Addend) {
714 int64_t Delta = (Value + Addend) - (Section.LoadAddress + Offset);
721 int64_t Delta = (Value + Addend) - (Section.LoadAddress + Offset);
727 int64_t Delta = (Value + Addend) - (Section.LoadAddress + Offset);
733 writeInt64BE(LocalAddress, Value + Addend);
741 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend);
748 int64_t Addend) {
751 resolveX86_64Relocation(Section, Offset, Value, Type, Addend);
756 (uint32_t)(Addend & 0xffffffffL));
759 resolveAArch64Relocation(Section, Offset, Value, Type, Addend);
765 (uint32_t)(Addend & 0xffffffffL));
771 (uint32_t)(Addend & 0xffffffffL));
775 resolvePPC64Relocation(Section, Offset, Value, Type, Addend);
778 resolveSystemZRelocation(Section, Offset, Value, Type, Addend);
792 int64_t Addend;
793 Check(getELFRelocationAddend(RelI, Addend));
801 << " Addend: " << Addend
814 Value.Addend = lsi->second.second + Addend;
822 Value.Addend = gsi->second.second + Addend;
841 Value.Addend = Addend;
846 Value.Addend = Addend;
883 ELF::R_AARCH64_MOVW_UABS_G3, Value.Addend);
886 ELF::R_AARCH64_MOVW_UABS_G2_NC, Value.Addend);
889 ELF::R_AARCH64_MOVW_UABS_G1_NC, Value.Addend);
892 ELF::R_AARCH64_MOVW_UABS_G0_NC, Value.Addend);
931 ELF::R_ARM_PRIVATE_0, Value.Addend);
950 // Extract the addend from the instruction.
951 uint32_t Addend = ((*TargetAddress) & 0x03ffffff) << 2;
953 Value.Addend += Addend;
971 ELF::R_MIPS_UNUSED1, Value.Addend);
974 ELF::R_MIPS_UNUSED2, Value.Addend);
1001 uint8_t *RelocTarget = Sections[Value.SectionID].Address + Value.Addend;
1005 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1030 ELF::R_PPC64_ADDR64, Value.Addend);
1036 ELF::R_PPC64_ADDR16_HIGHEST, Value.Addend);
1039 ELF::R_PPC64_ADDR16_HIGHER, Value.Addend);
1042 ELF::R_PPC64_ADDR16_HI, Value.Addend);
1045 ELF::R_PPC64_ADDR16_LO, Value.Addend);
1069 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
1111 ELF::R_390_64, Value.Addend - Addend);
1121 ELF::R_390_PC32DBL, Addend);
1123 resolveRelocation(Section, Offset, StubAddress, RelType, Addend);
1125 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);