Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DAArch64.cpp65 bool tryRelaxAdrpAdd(const Relocation &adrpRel, const Relocation &addRel,
67 bool tryRelaxAdrpLdr(const Relocation &adrpRel, const Relocation &ldrRel,
742 bool AArch64Relaxer::tryRelaxAdrpAdd(const Relocation &adrpRel, in tryRelaxAdrpAdd() argument
752 if (!config->relax || adrpRel.type != R_AARCH64_ADR_PREL_PG_HI21 || in tryRelaxAdrpAdd()
756 if (adrpRel.offset + 4 != addRel.offset) in tryRelaxAdrpAdd()
758 if (adrpRel.sym != addRel.sym) in tryRelaxAdrpAdd()
760 if (adrpRel.addend != 0 || addRel.addend != 0) in tryRelaxAdrpAdd()
763 uint32_t adrpInstr = read32le(buf + adrpRel.offset); in tryRelaxAdrpAdd()
775 Symbol &sym = *adrpRel.sym; in tryRelaxAdrpAdd()
784 write32le(buf + adrpRel.offset, 0xd503201f); in tryRelaxAdrpAdd()
[all …]