Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/ELF/
H A DRelocations.cpp871 isec.addReloc({expr, type, offsetInSec, addend, &sym}); in addRelativeReloc()
888 rel.addReloc({type, &gotPlt, sym.getGotPltOffset(ctx), in addPltEntry()
900 ctx.mainPart->relaDyn->addReloc({ctx.target->gotRel, ctx.in.got.get(), off, in addGotEntry()
922 ctx.mainPart->relaDyn->addReloc({R_AARCH64_AUTH_GLOB_DAT, ctx.in.got.get(), in addGotAuthEntry()
929 ctx.in.got->getPartition(ctx).relaDyn->addReloc( in addGotAuthEntry()
1124 sec->addReloc({expr, type, offset, addend, &sym}); in processAux()
1159 sec->addReloc({expr, type, offset, addend, &sym}); in processAux()
1162 part.relaDyn->addReloc({R_AARCH64_AUTH_RELATIVE, sec, offset, in processAux()
1215 sec->addReloc({expr, type, offset, addend, &sym}); in processAux()
1254 sec->addReloc({expr, type, offset, addend, &sym}); in processAux()
[all …]
H A DSyntheticSections.h514 template <bool shard = false> void addReloc(const DynamicReloc &reloc) { in addReloc() function
531 addReloc<shard>(DynamicReloc::AddendOnlyWithTargetVA, dynType, isec, in addRelativeReloc()
541 void addReloc(DynamicReloc::Kind kind, RelType dynType, InputSectionBase &sec, in addReloc() function
547 sec.addReloc({expr, addendRelType, offsetInSec, addend, &sym}); in addReloc()
548 addReloc<shard>({dynType, &sec, offsetInSec, kind, sym, addend, expr}); in addReloc()
573 inline void RelocationBaseSection::addReloc<true>(const DynamicReloc &reloc) {
H A DAArch64ErrataFix.cpp565 ps->addReloc({relIt->expr, relIt->type, 0, relIt->addend, relIt->sym}); in implementPatch()
568 isec->addReloc(makeRelToPatch(patcheeOffset, ps->patchSym)); in implementPatch()
H A DARMErrataFix.cpp460 psec->addReloc( in implementPatch()
480 isec->addReloc(Relocation{R_PC, type, sr.off, -4, psec->patchSym}); in implementPatch()
H A DInputSection.h276 void addReloc(const Relocation &r) { relocations.push_back(r); } in addReloc() function
H A DSyntheticSections.cpp1068 ctx.mainPart->relaDyn->addReloc( in build()
1078 ctx.mainPart->relaDyn->addReloc( in build()
1118 ctx.mainPart->relaDyn->addReloc({ctx.target->relativeRel, this, offset, in build()
1124 ctx.mainPart->relaDyn->addReloc({ctx.target->relativeRel, this, offset, in build()
1694 addReloc(DynamicReloc::AgainstSymbol, dynType, isec, offsetInSec, sym, addend, in addSymbolReloc()
1703 addReloc({dynType, &isec, offsetInSec, DynamicReloc::AgainstSymbol, sym, 0, in addAddendOnlyRelocIfNonPreemptible()
1706 addReloc(DynamicReloc::AddendOnlyWithTargetVA, dynType, isec, offsetInSec, in addAddendOnlyRelocIfNonPreemptible()
H A DInputSection.cpp554 sec->addReloc({R_ABS, type, rel.offset, addend, &sym}); in copyRelocations()
H A DWriter.cpp1575 part.relaDyn->addReloc({R_AARCH64_AUTH_RELATIVE, elem.inputSec, in finalizeAddressDependentContent()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.h41 bool addReloc(const MCFragment &, const MCFixup &, const MCValue &,
H A DLoongArchAsmBackend.cpp149 IsResolved = addReloc(F, Fixup, Target, Value, IsResolved); in applyFixup()
449 bool LoongArchAsmBackend::addReloc(const MCFragment &F, const MCFixup &Fixup, in addReloc() function in LoongArchAsmBackend
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.h51 bool addReloc(const MCFragment &, const MCFixup &, const MCValue &,
H A DRISCVAsmBackend.cpp812 bool RISCVAsmBackend::addReloc(const MCFragment &F, const MCFixup &Fixup, in addReloc() function in RISCVAsmBackend
889 IsResolved = addReloc(F, Fixup, Target, Value, IsResolved); in applyFixup()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOBuilder.h253 void addReloc(int32_t Offset, RelocTarget Target, bool PCRel,