Home
last modified time | relevance | path

Searched refs:secAddr (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/
H A DTarget.cpp154 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
156 secAddr += s->outSecOff; in relocateAlloc()
158 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
162 sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset), bits); in relocateAlloc()
H A DSyntheticSections.cpp849 uint64_t secAddr = getMipsPageAddr(outSec->addr); in getPageEntryOffset() local
851 index = g.pagesMap.lookup(outSec).firstIndex + (symAddr - secAddr) / 0xffff; in getPageEntryOffset()
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAArch64.cpp100 uint64_t secAddr, uint8_t *buf) const;
102 uint64_t secAddr, uint8_t *buf) const;
799 const Relocation &addRel, uint64_t secAddr, in tryRelaxAdrpAdd() argument
833 int64_t val = sym.getVA(ctx) - (secAddr + addRel.offset); in tryRelaxAdrpAdd()
848 const Relocation &ldrRel, uint64_t secAddr, in tryRelaxAdrpLdr() argument
899 getAArch64Page(sym.getVA(ctx)) - getAArch64Page(secAddr + adrpRel.offset); in tryRelaxAdrpLdr()
916 getAArch64Page(secAddr + adrpSymRel.offset), in tryRelaxAdrpLdr()
920 tryRelaxAdrpAdd(adrpSymRel, addRel, secAddr, buf); in tryRelaxAdrpLdr()
931 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
933 secAddr += s->outSecOff; in relocateAlloc()
[all …]
H A DLoongArch.cpp50 const Relocation &rLo12, uint64_t secAddr) const;
933 const uint64_t secAddr = sec.getVA(); in relax() local
943 const uint64_t loc = secAddr + r.offset - delta; in relax()
1172 const Relocation &rLo12, uint64_t secAddr) const { in tryGotToPCRel()
1208 const int64_t displace = symLocal - getLoongArchPage(secAddr + rHi20.offset); in tryGotToPCRel()
1221 getLoongArchPageDelta(symLocal, secAddr + rHi20.offset, rHi20.type); in tryGotToPCRel()
1275 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
1277 secAddr += s->outSecOff; in relocateAlloc()
1279 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
1287 sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset), bits); in relocateAlloc()
[all …]
H A DPPC.cpp500 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
502 secAddr += s->outSecOff; in relocateAlloc()
506 SignExtend64(sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset), 32); in relocateAlloc()
H A DX86.cpp495 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
497 secAddr += s->outSecOff; in relocateAlloc()
501 SignExtend64(sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset), 32); in relocateAlloc()
H A DRISCV.cpp593 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
595 secAddr += s->outSecOff; in relocateAlloc()
597 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
604 uint64_t val = sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset); in relocateAlloc()
836 const uint64_t secAddr = sec.getVA(); in relax() local
847 const uint64_t loc = secAddr + r.offset - delta; in relax()
H A DX86_64.cpp1150 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
1152 secAddr += s->outSecOff; in relocateAlloc()
1154 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
1159 const uint64_t val = sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset); in relocateAlloc()
H A DPPC64.cpp1565 uint64_t secAddr = sec.getOutputSection()->addr; in relocateAlloc() local
1567 secAddr += s->outSecOff; in relocateAlloc()
1569 secAddr += ehIn->getParent()->outSecOff; in relocateAlloc()
1573 const uint64_t val = sec.getRelocTargetVA(ctx, rel, secAddr + rel.offset); in relocateAlloc()