Home
last modified time | relevance | path

Searched refs:RelType (Results 26 – 41 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DMSP430.cpp35 RelExpr getRelExpr(RelType type, const Symbol &s,
47 RelExpr MSP430::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
H A DARM.cpp33 RelExpr getRelExpr(RelType type, const Symbol &s,
35 RelType getDynRel(RelType type) const override;
36 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
44 bool needsThunk(RelExpr expr, RelType type, const InputFile *file,
48 bool inBranchRange(RelType type, uint64_t src, uint64_t dst) const override;
99 RelExpr ARM::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
200 RelType ARM::getDynRel(RelType type) const { in getDynRel()
310 bool ARM::needsThunk(RelExpr expr, RelType type, const InputFile *file, in needsThunk()
386 bool ARM::inBranchRange(RelType type, uint64_t src, uint64_t dst) const { in inBranchRange()
417 static void stateChangeWarning(uint8_t *loc, RelType relt, const Symbol &s) { in stateChangeWarning()
[all …]
H A DRISCV.cpp34 int64_t getImplicitAddend(const uint8_t *buf, RelType type) const override;
41 RelType getDynRel(RelType type) const override;
42 RelExpr getRelExpr(RelType type, const Symbol &s,
173 int64_t RISCV::getImplicitAddend(const uint8_t *buf, RelType type) const { in getImplicitAddend()
258 RelType RISCV::getDynRel(RelType type) const { in getDynRel()
260 : static_cast<RelType>(R_RISCV_NONE); in getDynRel()
263 RelExpr RISCV::getRelExpr(const RelType type, const Symbol &s, in getRelExpr()
692 std::make_unique<RelType[]>(sec->relocs().size()); in initSymbolAnchors()
988 } else if (RelType newType = aux.relocTypes[i]) { in finalizeRelax()
H A DSPARCV9.cpp25 RelExpr getRelExpr(RelType type, const Symbol &s,
48 RelExpr SPARCV9::getRelExpr(RelType type, const Symbol &s, in getRelExpr()
/freebsd/contrib/llvm-project/lld/ELF/
H A DSyntheticSections.h427 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc()
433 DynamicReloc(RelType type, const InputSectionBase *inputSec,
439 DynamicReloc(RelType type, const InputSectionBase *inputSec, in DynamicReloc()
464 RelType type;
503 void addSymbolReloc(RelType dynType, InputSectionBase &isec,
505 std::optional<RelType> addendRelType = {});
512 void addRelativeReloc(RelType dynType, InputSectionBase &isec, in addRelativeReloc()
514 RelType addendRelType, RelExpr expr) { in addRelativeReloc()
521 void addAddendOnlyRelocIfNonPreemptible(RelType dynType, GotSection &sec,
523 RelType addendRelType);
[all …]
H A DRelocations.cpp165 static RelType getMipsPairType(RelType type, bool isLocal) { in getMipsPairType()
498 RelType type = rel.getType(config->isMips64EL); in computeMipsAddend()
858 RelType RelocationScanner::getMipsN32RelType(RelTy *&rel) const { in getMipsN32RelType()
859 RelType type = 0; in getMipsN32RelType()
871 RelType type) { in addRelativeReloc()
1139 RelType rel = target->getDynRel(type); in processAux()
1245 static unsigned handleMipsTlsRelocation(RelType type, Symbol &sym, in handleMipsTlsRelocation()
1268 static unsigned handleTlsRelocation(RelType type, Symbol &sym, in handleTlsRelocation()
1403 RelType type; in scanOne()
1509 RelType type = rel.getType(false); in checkPPC64TLSRelax()
[all …]
H A DRelocations.h25 using RelType = uint32_t; variable
123 RelType type;
H A DThunks.cpp1257 static Thunk *addThunkAArch64(RelType type, Symbol &s, int64_t a) { in addThunkAArch64()
1274 static Thunk *addThunkArmv4(RelType reloc, Symbol &s, int64_t a) { in addThunkArmv4()
1309 static Thunk *addThunkArmv5v6(RelType reloc, Symbol &s, int64_t a) { in addThunkArmv5v6()
1329 static Thunk *addThunkV6M(const InputSection &isec, RelType reloc, Symbol &s, in addThunkV6M()
1353 static Thunk *addThunkArm(const InputSection &isec, RelType reloc, Symbol &s, in addThunkArm()
1398 static Thunk *addThunkAVR(RelType type, Symbol &s, int64_t a) { in addThunkAVR()
1408 static Thunk *addThunkMips(RelType type, Symbol &s) { in addThunkMips()
1426 static Thunk *addThunkPPC64(RelType type, Symbol &s, int64_t a) { in addThunkPPC64()
H A DARMErrataFix.cpp436 RelType patchRelType = R_ARM_THM_JUMP24; in implementPatch()
466 RelType type; in implementPatch()
H A DInputSection.h119 std::unique_ptr<RelType[]> relocTypes;
225 static uint64_t getRelocTargetVA(const InputFile *File, RelType Type,
H A DInputSection.cpp398 RelType type = rel.type; in copyRelocations()
492 static uint32_t getARMUndefinedRelativeWeakVA(RelType type, uint32_t a, in getARMUndefinedRelativeWeakVA()
669 uint64_t InputSectionBase::getRelocTargetVA(const InputFile *file, RelType type, in getRelocTargetVA()
920 const RelType type = rel.getType(config->isMips64EL); in relocateNonAlloc()
H A DSyntheticSections.cpp1619 RelType dynType, InputSectionBase &isec, uint64_t offsetInSec, Symbol &sym, in addSymbolReloc()
1620 int64_t addend, std::optional<RelType> addendRelType) { in addSymbolReloc()
1626 RelType dynType, GotSection &sec, uint64_t offsetInSec, Symbol &sym, in addAddendOnlyRelocIfNonPreemptible()
1627 RelType addendRelType) { in addAddendOnlyRelocIfNonPreemptible()
1650 const RelType relativeRel = target->relativeRel; in partitionRels()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h126 …void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValu…
129 uint32_t getMatchingLoRelocation(uint32_t RelType,
206 uint64_t RelType, RelocationValueRef Value,
H A DRuntimeDyldMachO.h75 MachO::RelocationInfoType RelType = in getRelocationEntry() local
78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
H A DRuntimeDyldMachO.cpp158 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType in dumpRelocationToResolve()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp758 uint32_t RelType, StringRef PltSec) { in getPltEntries() argument
760 if (R.getType() != RelType) in getPltEntries()

12