Home
last modified time | relevance | path

Searched refs:Relocation (Results 1 – 25 of 68) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DTarget.h85 virtual void relocate(uint8_t *loc, const Relocation &rel,
88 relocate(loc, Relocation{R_NONE, type, 0, 0, nullptr}, val); in relocateNoSym()
155 virtual void relaxGot(uint8_t *loc, const Relocation &rel,
157 virtual void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
159 virtual void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
161 virtual void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
163 virtual void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
202 bool tryRelaxPPC64TocIndirection(const Relocation &rel, uint8_t *bufLoc);
232 void reportRangeError(uint8_t *loc, const Relocation &rel, const Twine &v,
251 const Relocation &rel) { in checkIntUInt()
[all …]
H A DTarget.cpp164 void TargetInfo::relaxGot(uint8_t *loc, const Relocation &rel, in relaxGot()
169 void TargetInfo::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe()
174 void TargetInfo::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe()
179 void TargetInfo::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe()
184 void TargetInfo::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe()
H A DThunks.cpp81 const Relocation &rel) const override;
113 const Relocation &rel) const override;
178 const Relocation &rel) const override;
189 const Relocation &rel) const override;
286 const Relocation &rel) const override;
316 const Relocation &rel) const override;
339 const Relocation &rel) const override;
356 const Relocation &rel) const override;
373 const Relocation &rel) const override;
417 const Relocation &rel) const override;
[all …]
H A DRelocations.h106 struct Relocation { struct
152 const Relocation &rel, uint64_t src);
158 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel,
164 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
H A DThunks.h54 const Relocation &) const { in isCompatibleWith() argument
71 Thunk *addThunk(const InputSection &isec, Relocation &rel);
H A DARMErrataFix.cpp209 uint32_t instr, const Relocation *r) { in branchDestInFirstRegion()
249 Relocation *rel;
286 auto relIt = llvm::find_if(isec->relocations, [=](const Relocation &r) { in scanCortexA8Errata657417()
458 Relocation{sr.rel->expr, patchRelType, 0, patchRelAddend, sr.rel->sym}); in implementPatch()
477 Relocation{R_PC, type, sr.off, -4, psec->patchSym}); in implementPatch()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DXCOFFYAML.h32 struct Relocation { struct
50 std::vector<Relocation> Relocations; argument
72 LLVM_YAML_IS_SEQUENCE_VECTOR(XCOFFYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
95 template <> struct MappingTraits<XCOFFYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
96 static void mapping(IO &IO, XCOFFYAML::Relocation &R); in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DCOFFYAML.h57 struct Relocation { struct
77 std::vector<Relocation> Relocations; argument
118 LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR()
199 struct MappingTraits<COFFYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
200 static void mapping(IO &IO, COFFYAML::Relocation &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DMachOYAML.h30 struct Relocation { struct
58 std::vector<Relocation> relocations; argument
161 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
217 template <> struct MappingTraits<MachOYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
218 static void mapping(IO &IO, MachOYAML::Relocation &R); in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DWasmYAML.h110 struct Relocation { struct
187 std::vector<Relocation> Relocations;
419 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR()
493 template <> struct MappingTraits<WasmYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
494 static void mapping(IO &IO, WasmYAML::Relocation &Relocation); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dforth27 >>>32 lelong x Text Relocation Table length: %d bytes,
28 >>>36 lelong x Data Relocation Table length: %d bytes,
42 >>24 lelong x First Relocation Item: %d,
52 >24 belong x Text Relocation Table length: %d bytes,
53 >28 belong x Data Relocation Table length: %d bytes
61 >24 lelong x Text Relocation Table length: %d bytes,
62 >28 lelong x Data Relocation Table length: %d bytes
/freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/
H A DX86_64.cpp39 void relocate(uint8_t *loc, const Relocation &rel,
47 void relaxGot(uint8_t *loc, const Relocation &rel,
49 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
51 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
53 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
55 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
172 static bool isRelocationForJmpInsn(Relocation &R) { in isRelocationForJmpInsn()
260 Relocation &r = is.relocations[rIndex]; in deleteFallThruJmpInsn()
288 Relocation &rB = is.relocations[rbIndex]; in deleteFallThruJmpInsn()
424 void X86_64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe()
[all …]
H A DPPC.cpp47 void relocate(uint8_t *loc, const Relocation &rel,
51 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
53 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
55 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
57 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
310 void PPC::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
401 void PPC::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe()
420 void PPC::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe()
436 void PPC::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe()
460 void PPC::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe()
H A DX86.cpp37 void relocate(uint8_t *loc, const Relocation &rel,
41 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
43 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
45 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
47 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
287 void X86::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
345 void X86::relaxTlsGdToLe(uint8_t *loc, const Relocation &, uint64_t val) const { in relaxTlsGdToLe() argument
360 void X86::relaxTlsGdToIe(uint8_t *loc, const Relocation &, uint64_t val) const { in relaxTlsGdToIe() argument
377 void X86::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe()
415 void X86::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe()
H A DAArch64.cpp48 void relocate(uint8_t *loc, const Relocation &rel,
51 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
53 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
55 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
339 void AArch64::relocate(uint8_t *loc, const Relocation &rel, in relocate()
498 void AArch64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe()
529 void AArch64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe()
561 void AArch64::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe()
H A DMSP430.cpp38 void relocate(uint8_t *loc, const Relocation &rel,
63 void MSP430::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
H A DPPC64.cpp328 bool elf::tryRelaxPPC64TocIndirection(const Relocation &rel, uint8_t *bufLoc) { in tryRelaxPPC64TocIndirection()
378 void relocate(uint8_t *loc, const Relocation &rel,
389 void relaxGot(uint8_t *loc, const Relocation &rel,
391 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel,
393 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel,
395 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel,
397 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel,
706 void PPC64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe()
769 void PPC64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe()
859 void PPC64::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DArchHandler.h119 virtual bool isPairedReloc(const normalized::Relocation &) = 0;
137 getReferenceInfo(const normalized::Relocation &reloc,
152 getPairReferenceInfo(const normalized::Relocation &reloc1,
153 const normalized::Relocation &reloc2,
304 static RelocPattern relocPattern(const normalized::Relocation &reloc);
306 static normalized::Relocation relocFromPattern(RelocPattern pattern);
H A DArchHandler.cpp61 ArchHandler::RelocPattern ArchHandler::relocPattern(const Relocation &reloc) { in relocPattern()
88 normalized::Relocation
90 normalized::Relocation result; in relocFromPattern()
118 normalized::Relocation reloc = relocFromPattern(pattern); in appendReloc()
H A DArchHandler_x86.cpp46 bool isPairedReloc(const normalized::Relocation &) override;
88 llvm::Error getReferenceInfo(const normalized::Relocation &reloc,
98 getPairReferenceInfo(const normalized::Relocation &reloc1,
99 const normalized::Relocation &reloc2,
243 bool ArchHandler_x86::isPairedReloc(const Relocation &reloc) { in isPairedReloc()
251 ArchHandler_x86::getReferenceInfo(const Relocation &reloc, in getReferenceInfo()
348 ArchHandler_x86::getPairReferenceInfo(const normalized::Relocation &reloc1, in getPairReferenceInfo()
349 const normalized::Relocation &reloc2, in getPairReferenceInfo()
H A DArchHandler_x86_64.cpp143 bool isPairedReloc(const normalized::Relocation &) override;
145 llvm::Error getReferenceInfo(const normalized::Relocation &reloc,
155 getPairReferenceInfo(const normalized::Relocation &reloc1,
156 const normalized::Relocation &reloc2,
248 Reference::KindValue kindFromReloc(const normalized::Relocation &reloc);
355 bool ArchHandler_x86_64::isPairedReloc(const Relocation &reloc) { in isPairedReloc()
360 ArchHandler_x86_64::kindFromReloc(const Relocation &reloc) { in kindFromReloc()
396 ArchHandler_x86_64::getReferenceInfo(const Relocation &reloc, in getReferenceInfo()
473 ArchHandler_x86_64::getPairReferenceInfo(const normalized::Relocation &reloc1, in getPairReferenceInfo()
474 const normalized::Relocation &reloc2, in getPairReferenceInfo()
H A DMachONormalizedFileBinaryUtils.h128 inline Relocation unpackRelocation(const llvm::MachO::any_relocation_info &r, in unpackRelocation()
133 Relocation result; in unpackRelocation()
161 packRelocation(const Relocation &r, bool swap, bool isBigEndian) { in packRelocation()
H A DArchHandler_arm64.cpp97 bool isPairedReloc(const normalized::Relocation &) override;
137 llvm::Error getReferenceInfo(const normalized::Relocation &reloc,
147 getPairReferenceInfo(const normalized::Relocation &reloc1,
148 const normalized::Relocation &reloc2,
330 bool ArchHandler_arm64::isPairedReloc(const Relocation &r) { in isPairedReloc()
378 const Relocation &reloc, const DefinedAtom *inAtom, uint32_t offsetInAtom, in getReferenceInfo()
473 const normalized::Relocation &reloc1, const normalized::Relocation &reloc2, in getPairReferenceInfo()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DObject.h27 struct Relocation { struct
28 Relocation() = default;
29 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation() argument
38 std::vector<Relocation> Relocs; argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp278 void MappingTraits<MachOYAML::Relocation>::mapping( in mapping()
279 IO &IO, MachOYAML::Relocation &Relocation) { in mapping() argument
280 IO.mapRequired("address", Relocation.address); in mapping()
281 IO.mapRequired("symbolnum", Relocation.symbolnum); in mapping()
282 IO.mapRequired("pcrel", Relocation.is_pcrel); in mapping()
283 IO.mapRequired("length", Relocation.length); in mapping()
284 IO.mapRequired("extern", Relocation.is_extern); in mapping()
285 IO.mapRequired("type", Relocation.type); in mapping()
286 IO.mapRequired("scattered", Relocation.is_scattered); in mapping()
287 IO.mapRequired("value", Relocation.value); in mapping()

123