Lines Matching refs:rel1
381 Optional<PerformedReloc> rel1 = findPrimaryReloc(hint.offset0); in applyAdrpAdd() local
383 if (!rel1 || !rel2) in applyAdrpAdd()
385 if (rel1->referentVA != rel2->referentVA) in applyAdrpAdd()
387 int64_t delta = rel1->referentVA - rel1->rel.offset - isec->getVA(); in applyAdrpAdd()
412 Optional<PerformedReloc> rel1 = findPrimaryReloc(hint.offset0); in applyAdrpAdrp() local
414 if (!rel1 || !rel2) in applyAdrpAdrp()
416 if ((rel1->referentVA & ~0xfffULL) != (rel2->referentVA & ~0xfffULL)) in applyAdrpAdrp()
443 Optional<PerformedReloc> rel1 = findPrimaryReloc(hint.offset0); in applyAdrpLdr() local
445 if (!rel1 || !rel2) in applyAdrpLdr()
447 if (ldr.offset != static_cast<int64_t>(rel1->referentVA & 0xfff)) in applyAdrpLdr()
449 ldr.offset = rel1->referentVA - rel2->rel.offset - isec->getVA(); in applyAdrpLdr()
488 Optional<PerformedReloc> rel1 = findPrimaryReloc(hint.offset0); in applyAdrpLdrGotLdr() local
490 if (!rel1 || !rel2) in applyAdrpLdrGotLdr()
509 literalLdr.offset += rel1->referentVA - rel3VA; in applyAdrpLdrGotLdr()
521 int64_t adrOffset = rel1->referentVA - rel1->rel.offset - isec->getVA(); in applyAdrpLdrGotLdr()
557 literalLdr.offset = rel1->referentVA - rel2->rel.offset - isec->getVA(); in applyAdrpLdrGotLdr()