Lines Matching refs:getVA

179 uint64_t SectionBase::getVA(uint64_t offset) const {  in getVA()  function in SectionBase
361 p->r_offset = sec->getVA(rel.r_offset); in copyRelocations()
420 p->r_addend = sym.getVA(addend) - section->getOutputSection()->addr; in copyRelocations()
590 return s.getVA(0) + config->wordsize * 2 + in getTlsTpOffset()
598 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000; in getTlsTpOffset()
600 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)); in getTlsTpOffset()
607 return s.getVA(0) - tls->p_memsz - in getTlsTpOffset()
623 return sym.getVA(a); in getRelocTargetVA()
629 return sym.getVA(a) - getARMStaticBase(sym); in getRelocTargetVA()
634 return in.got->getVA() + a - p; in getRelocTargetVA()
636 return in.gotPlt->getVA() + a - p; in getRelocTargetVA()
639 return sym.getVA(a) - in.got->getVA(); in getRelocTargetVA()
641 return sym.getVA(a) - in.gotPlt->getVA(); in getRelocTargetVA()
644 return sym.getGotVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
653 return sym.getGotVA() + a - getAArch64Page(in.got->getVA()); in getRelocTargetVA()
658 return sym.getVA(a) - in.mipsGot->getGp(file); in getRelocTargetVA()
680 return in.mipsGot->getVA() + in.mipsGot->getPageEntryOffset(file, sym, a) - in getRelocTargetVA()
687 return in.mipsGot->getVA() + in.mipsGot->getSymEntryOffset(file, sym, a) - in getRelocTargetVA()
690 return in.mipsGot->getVA() + in.mipsGot->getGlobalDynOffset(file, sym) - in getRelocTargetVA()
693 return in.mipsGot->getVA() + in.mipsGot->getTlsIndexOffset(file) - in getRelocTargetVA()
696 uint64_t val = sym.isUndefWeak() ? p + a : sym.getVA(a); in getRelocTargetVA()
701 return getRelocTargetVA(file, hiRel->type, hiRel->addend, sym.getVA(), in getRelocTargetVA()
727 dest = sym.getVA(a); in getRelocTargetVA()
729 dest = sym.getVA(a); in getRelocTargetVA()
739 return sym.getPltVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
746 uint64_t symVA = sym.getVA(a); in getRelocTargetVA()
765 return sym.getVA(a) - p; in getRelocTargetVA()
789 return in.got->getTlsDescAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
795 return in.got->getGlobalDynAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
799 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA(); in getRelocTargetVA()
906 target.relocateNoSym(bufLoc, type, SignExtend64<bits>(sym.getVA(addend))); in relocateNonAlloc()
928 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc()
944 uint64_t targetVA = SignExtend64(rel.sym->getVA(rel.addend), bits); in relocateNonAllocForRelocatable()