Lines Matching refs:getVA
187 uint64_t SectionBase::getVA(uint64_t offset) const { in getVA() function in SectionBase
410 p->r_offset = sec->getVA(rel.offset); in copyRelocations()
466 p->r_addend = sym.getVA(addend) - section->getOutputSection()->addr; in copyRelocations()
643 return s.getVA(0) + config->wordsize * 2 + in getTlsTpOffset()
651 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000; in getTlsTpOffset()
654 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)); in getTlsTpOffset()
662 return s.getVA(0) - tls->p_memsz - in getTlsTpOffset()
679 return sym.getVA(a); in getRelocTargetVA()
685 return sym.getVA(a) - getARMStaticBase(sym); in getRelocTargetVA()
698 return in.got->getVA() + a - p; in getRelocTargetVA()
700 return in.gotPlt->getVA() + a - p; in getRelocTargetVA()
703 return sym.getVA(a) - in.got->getVA(); in getRelocTargetVA()
705 return sym.getVA(a) - in.gotPlt->getVA(); in getRelocTargetVA()
708 return sym.getGotVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
717 return sym.getGotVA() + a - getAArch64Page(in.got->getVA()); in getRelocTargetVA()
722 return sym.getGotPltVA() + a - in.got->getVA(); in getRelocTargetVA()
730 return sym.getVA(a) - in.mipsGot->getGp(file); in getRelocTargetVA()
752 return in.mipsGot->getVA() + in.mipsGot->getPageEntryOffset(file, sym, a) - in getRelocTargetVA()
759 return in.mipsGot->getVA() + in.mipsGot->getSymEntryOffset(file, sym, a) - in getRelocTargetVA()
762 return in.mipsGot->getVA() + in.mipsGot->getGlobalDynOffset(file, sym) - in getRelocTargetVA()
765 return in.mipsGot->getVA() + in.mipsGot->getTlsIndexOffset(file) - in getRelocTargetVA()
768 uint64_t val = sym.isUndefWeak() ? p + a : sym.getVA(a); in getRelocTargetVA()
773 return getRelocTargetVA(file, hiRel->type, hiRel->addend, sym.getVA(), in getRelocTargetVA()
778 return getLoongArchPageDelta(sym.getVA(a), p, type); in getRelocTargetVA()
801 dest = sym.getVA(a); in getRelocTargetVA()
803 dest = sym.getVA(a); in getRelocTargetVA()
815 return sym.getPltVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
817 return sym.getPltVA() + a - in.got->getVA(); in getRelocTargetVA()
824 uint64_t symVA = sym.getVA(a); in getRelocTargetVA()
843 return sym.getVA(a) - p; in getRelocTargetVA()
867 return in.got->getTlsDescAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
873 return in.got->getGlobalDynAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
879 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA(); in getRelocTargetVA()
941 val = sym.getVA(addend) - in relocateNonAlloc()
942 (getFile<ELFT>()->getRelocTargetSym(rels[i]).getVA(0) + in relocateNonAlloc()
1008 target.relocateNoSym(bufLoc, type, SignExtend64<bits>(sym.getVA(addend))); in relocateNonAlloc()
1041 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc()