Lines Matching refs:getVA

223 uint64_t SectionBase::getVA(uint64_t offset) const {  in getVA()  function in SectionBase
454 p->r_offset = sec->getVA(rel.offset); in copyRelocations()
510 p->r_addend = sym.getVA(addend) - section->getOutputSection()->addr; in copyRelocations()
687 return s.getVA(0) + config->wordsize * 2 + in getTlsTpOffset()
695 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000; in getTlsTpOffset()
703 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)); in getTlsTpOffset()
711 return s.getVA(0) - tls->p_memsz - in getTlsTpOffset()
729 return sym.getVA(a); in getRelocTargetVA()
735 return sym.getVA(a) - getARMStaticBase(sym); in getRelocTargetVA()
748 return in.got->getVA() + a - p; in getRelocTargetVA()
750 return in.gotPlt->getVA() + a - p; in getRelocTargetVA()
753 return sym.getVA(a) - in.got->getVA(); in getRelocTargetVA()
755 return sym.getVA(a) - in.gotPlt->getVA(); in getRelocTargetVA()
758 return sym.getGotVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
767 return sym.getGotVA() + a - getAArch64Page(in.got->getVA()); in getRelocTargetVA()
772 return sym.getGotPltVA() + a - in.got->getVA(); in getRelocTargetVA()
780 return sym.getVA(a) - in.mipsGot->getGp(file); in getRelocTargetVA()
802 return in.mipsGot->getVA() + in.mipsGot->getPageEntryOffset(file, sym, a) - in getRelocTargetVA()
809 return in.mipsGot->getVA() + in.mipsGot->getSymEntryOffset(file, sym, a) - in getRelocTargetVA()
812 return in.mipsGot->getVA() + in.mipsGot->getGlobalDynOffset(file, sym) - in getRelocTargetVA()
815 return in.mipsGot->getVA() + in.mipsGot->getTlsIndexOffset(file) - in getRelocTargetVA()
818 uint64_t val = sym.isUndefWeak() ? p + a : sym.getVA(a); in getRelocTargetVA()
823 return getRelocTargetVA(file, hiRel->type, hiRel->addend, sym.getVA(), in getRelocTargetVA()
828 return getLoongArchPageDelta(sym.getVA(a), p, type); in getRelocTargetVA()
851 dest = sym.getVA(a); in getRelocTargetVA()
853 dest = sym.getVA(a); in getRelocTargetVA()
865 return sym.getPltVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
867 return sym.getPltVA() + a - in.got->getVA(); in getRelocTargetVA()
874 uint64_t symVA = sym.getVA(a); in getRelocTargetVA()
893 return sym.getVA(a) - p; in getRelocTargetVA()
917 return in.got->getTlsDescAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
925 return in.got->getGlobalDynAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
931 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA(); in getRelocTargetVA()
994 val = sym.getVA(addend) - in relocateNonAlloc()
995 (f->getRelocTargetSym(*it).getVA(0) + getAddend<ELFT>(*it)); in relocateNonAlloc()
1061 target.relocateNoSym(bufLoc, type, SignExtend64<bits>(sym.getVA(addend))); in relocateNonAlloc()
1094 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc()