Lines Matching refs:FinalAddress

255     uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset);  in resolveX86_64Relocation()  local
256 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation()
263 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveX86_64Relocation() local
264 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation()
272 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveX86_64Relocation() local
273 int64_t RealOffset = Value + Addend - FinalAddress; in resolveX86_64Relocation()
291 uint32_t FinalAddress = in resolveX86Relocation() local
293 uint32_t RealOffset = Value + Addend - FinalAddress; in resolveX86Relocation()
311 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveAArch64Relocation() local
315 << " FinalAddress: 0x" << format("%llx", FinalAddress) in resolveAArch64Relocation()
331 uint64_t Result = Value + Addend - FinalAddress; in resolveAArch64Relocation()
341 uint64_t BranchImm = Value + Addend - FinalAddress; in resolveAArch64Relocation()
404 ((Value + Addend) & ~0xfffULL) - (FinalAddress & ~0xfffULL); in resolveAArch64Relocation()
451 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset) & 0xFFFFFFFF; in resolveARMRelocation() local
456 << " FinalAddress: " << format("%p", FinalAddress) << " Value: " in resolveARMRelocation()
487 int32_t RelValue = static_cast<int32_t>(Value - FinalAddress - 8); in resolveARMRelocation()
535 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
536 writeBytesUnaligned(Value - FinalAddress, (uint8_t *)TargetPtr, 4); in resolveMIPSRelocation()
540 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
542 Insn |= ((Value - FinalAddress) >> 2) & 0xffff; in resolveMIPSRelocation()
547 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
549 Insn |= ((Value - (FinalAddress & ~0x3)) >> 2) & 0x7ffff; in resolveMIPSRelocation()
554 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
556 Insn |= ((Value - FinalAddress) >> 2) & 0x1fffff; in resolveMIPSRelocation()
561 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
563 Insn |= ((Value - FinalAddress) >> 2) & 0x3ffffff; in resolveMIPSRelocation()
568 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
570 Insn |= ((Value - FinalAddress + 0x8000) >> 16) & 0xffff; in resolveMIPSRelocation()
575 uint32_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveMIPSRelocation() local
577 Insn |= (Value - FinalAddress) & 0xffff; in resolveMIPSRelocation()
695 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
696 return ((Value + Addend - FinalAddress) >> 2) & 0xffff; in evaluateMIPS64Relocation()
699 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
700 return Value + Addend - FinalAddress; in evaluateMIPS64Relocation()
703 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
704 return ((Value + Addend - (FinalAddress & ~0x7)) >> 3) & 0x3ffff; in evaluateMIPS64Relocation()
707 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
708 return ((Value + Addend - (FinalAddress & ~0x3)) >> 2) & 0x7ffff; in evaluateMIPS64Relocation()
711 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
712 return ((Value + Addend - FinalAddress) >> 2) & 0x1fffff; in evaluateMIPS64Relocation()
715 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
716 return ((Value + Addend - FinalAddress) >> 2) & 0x3ffffff; in evaluateMIPS64Relocation()
719 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
720 return ((Value + Addend - FinalAddress + 0x8000) >> 16) & 0xffff; in evaluateMIPS64Relocation()
723 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in evaluateMIPS64Relocation() local
724 return (Value + Addend - FinalAddress) & 0xffff; in evaluateMIPS64Relocation()
992 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolvePPC64Relocation() local
993 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation()
997 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolvePPC64Relocation() local
998 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation()
1002 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolvePPC64Relocation() local
1003 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation()
1013 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolvePPC64Relocation() local
1014 int32_t delta = static_cast<int32_t>(Value - FinalAddress + Addend); in resolvePPC64Relocation()
1021 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolvePPC64Relocation() local
1022 int32_t delta = static_cast<int32_t>(Value - FinalAddress + Addend); in resolvePPC64Relocation()
1028 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolvePPC64Relocation() local
1029 uint64_t Delta = Value - FinalAddress + Addend; in resolvePPC64Relocation()