| /freebsd-14.2/contrib/llvm-project/lld/ELF/Arch/ |
| H A D | AArch64.cpp | 50 void relocate(uint8_t *loc, const Relocation &rel, 64 AArch64Relaxer(ArrayRef<Relocation> relocs); 65 bool tryRelaxAdrpAdd(const Relocation &adrpRel, const Relocation &addRel, 67 bool tryRelaxAdrpLdr(const Relocation &adrpRel, const Relocation &ldrRel, 365 void AArch64::relocate(uint8_t *loc, const Relocation &rel, in relocate() 539 void AArch64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() 621 AArch64Relaxer::AArch64Relaxer(ArrayRef<Relocation> relocs) { in AArch64Relaxer() 642 bool AArch64Relaxer::tryRelaxAdrpAdd(const Relocation &adrpRel, in tryRelaxAdrpAdd() 691 bool AArch64Relaxer::tryRelaxAdrpLdr(const Relocation &adrpRel, in tryRelaxAdrpLdr() 768 static bool needsGotForMemtag(const Relocation &rel) { in needsGotForMemtag() [all …]
|
| H A D | SystemZ.cpp | 42 void relocate(uint8_t *loc, const Relocation &rel, 47 void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const; 48 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 49 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 50 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 305 void SystemZ::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe() 340 void SystemZ::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() 375 void SystemZ::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe() 445 for (Relocation &rel : sec->relocs()) { in relaxOnce() 466 void SystemZ::relaxGot(uint8_t *loc, const Relocation &rel, in relaxGot() [all …]
|
| H A D | PPC.cpp | 50 void relocate(uint8_t *loc, const Relocation &rel, 57 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 58 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 59 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 60 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 317 void PPC::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() 408 void PPC::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe() 427 void PPC::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() 443 void PPC::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe() 467 void PPC::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe() [all …]
|
| H A D | X86_64.cpp | 40 void relocate(uint8_t *loc, const Relocation &rel, 168 static bool isRelocationForJmpInsn(Relocation &R) { in isRelocationForJmpInsn() 178 InputSection *nextIS, Relocation &r) { in isFallThruRelocation() 256 Relocation &r = is.relocs()[rIndex]; in deleteFallThruJmpInsn() 284 Relocation &rB = is.relocs()[rbIndex]; in deleteFallThruJmpInsn() 327 for (Relocation &rel : sec->relocs()) { in relaxOnce() 459 static void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsGdToLe() 540 static void relaxTlsIeToLe(uint8_t *loc, const Relocation &, uint64_t val) { in relaxTlsIeToLe() argument 760 static void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val); 957 static void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxGot() [all …]
|
| H A D | X86.cpp | 37 void relocate(uint8_t *loc, const Relocation &rel, 283 void X86::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() 347 static void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsGdToLe() 382 static void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsGdToIe() 416 static void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsIeToLe() 453 static void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsLdToLe() 488 for (const Relocation &rel : sec.relocs()) { in relocateAlloc()
|
| H A D | MSP430.cpp | 37 void relocate(uint8_t *loc, const Relocation &rel, 62 void MSP430::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
|
| H A D | RISCV.cpp | 44 void relocate(uint8_t *loc, const Relocation &rel, 546 static bool relaxable(ArrayRef<Relocation> relocs, size_t i) { in relaxable() 601 const ArrayRef<Relocation> relocs = sec.relocs(); in relocateAlloc() 603 const Relocation &rel = relocs[i]; in relocateAlloc() 659 const Relocation &rel1 = relocs[i + 1]; in relocateAlloc() 736 Relocation &r, uint32_t &remove) { in relaxCall() 763 Relocation &r, uint32_t &remove) { in relaxTlsLe() 791 Relocation &r, uint32_t &remove) { in relaxHi20Lo12() 816 const MutableArrayRef<Relocation> relocs = sec.relocs(); in relax() 946 MutableArrayRef<Relocation> rels = sec->relocs(); in finalizeRelax() [all …]
|
| H A D | PPC64.cpp | 183 void relocate(uint8_t *loc, const Relocation &rel, 194 void relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const; 201 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 202 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 203 void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 380 static bool tryRelaxPPC64TocIndirection(const Relocation &rel, in tryRelaxPPC64TocIndirection() 716 void PPC64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() 779 void PPC64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe() 891 void PPC64::relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, in relaxTlsIeToLe() 1512 void PPC64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe() [all …]
|
| H A D | AMDGPU.cpp | 32 void relocate(uint8_t *loc, const Relocation &rel, 130 void AMDGPU::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate()
|
| /freebsd-14.2/contrib/file/magic/Magdir/ |
| H A D | forth | 27 >>>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-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | Target.h | 89 virtual void relocate(uint8_t *loc, const Relocation &rel, 92 relocate(loc, Relocation{R_NONE, type, 0, 0, nullptr}, val); in relocateNoSym() 249 void reportRangeError(uint8_t *loc, const Relocation &rel, const Twine &v, 255 inline void checkInt(uint8_t *loc, int64_t v, int n, const Relocation &rel) { in checkInt() 261 inline void checkUInt(uint8_t *loc, uint64_t v, int n, const Relocation &rel) { in checkUInt() 268 const Relocation &rel) { in checkIntUInt() 277 const Relocation &rel) { in checkAlignment()
|
| H A D | Relocations.h | 121 struct Relocation { struct 163 const Relocation &rel, uint64_t src); 169 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel, 175 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
|
| H A D | Thunks.h | 53 const Relocation &) const { in isCompatibleWith() argument 70 Thunk *addThunk(const InputSection &isec, Relocation &rel);
|
| H A D | Thunks.cpp | 104 const Relocation &rel) const override; 136 const Relocation &rel) const override; 352 PPC32PltCallStub(const InputSection &isec, const Relocation &rel, in PPC32PltCallStub() 388 const Relocation &rel) const override; 418 const Relocation &rel) const override; 444 const Relocation &rel) const override; 464 const Relocation &rel) const override; 616 const Relocation &rel) const { in isCompatibleWith() 660 const Relocation &rel) const { in isCompatibleWith() 1189 const Relocation &rel) const { in isCompatibleWith() [all …]
|
| H A D | ARMErrataFix.cpp | 207 uint32_t instr, const Relocation *r) { in branchDestInFirstRegion() 247 Relocation *rel; 284 auto relIt = llvm::find_if(isec->relocs(), [=](const Relocation &r) { in scanCortexA8Errata657417() 455 Relocation{sr.rel->expr, patchRelType, 0, patchRelAddend, sr.rel->sym}); in implementPatch() 473 isec->addReloc(Relocation{R_PC, type, sr.off, -4, psec->patchSym}); in implementPatch()
|
| H A D | InputSection.cpp | 369 Relocation operator()(const RelTy &rel) const { in copyRelocations() 371 return Relocation{R_NONE, rel.getType(config->isMips64EL), rel.r_offset, in copyRelocations() 397 for (const Relocation &rel : rels) { in copyRelocations() 586 static Relocation *getRISCVPCRelHi20(const Symbol *sym, uint64_t addend) { in getRISCVPCRelHi20() 601 Relocation r; in getRISCVPCRelHi20() 605 [](const Relocation &lhs, const Relocation &rhs) { in getRISCVPCRelHi20() 772 if (const Relocation *hiRel = getRISCVPCRelHi20(&sym, a)) in getRelocTargetVA() 1069 SmallVector<Relocation *, 0> &morestackCalls) { in switchMorestackCallsToMorestackNonSplit() argument 1082 llvm::sort(morestackCalls, [](const Relocation *l, const Relocation *r) { in switchMorestackCallsToMorestackNonSplit() 1119 SmallVector<Relocation *, 0> morestackCalls; in adjustSplitStackFunctionPrologues() [all …]
|
| H A D | InputSection.h | 232 SmallVector<Relocation, 0> relocations; 234 void addReloc(const Relocation &r) { relocations.push_back(r); } in addReloc() 235 MutableArrayRef<Relocation> relocs() { return relocations; } in relocs() 236 ArrayRef<Relocation> relocs() const { return relocations; } in relocs()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | COFFYAML.h | 58 struct Relocation { struct 89 std::vector<Relocation> Relocations; argument 131 LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() 213 struct MappingTraits<COFFYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 214 static void mapping(IO &IO, COFFYAML::Relocation &Rel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| H A D | MachOYAML.h | 31 struct Relocation { struct 59 std::vector<Relocation> relocations; argument 173 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::MachOYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 230 template <> struct MappingTraits<MachOYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 231 static void mapping(IO &IO, MachOYAML::Relocation &R); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| H A D | XCOFFYAML.h | 65 struct Relocation { struct 83 std::vector<Relocation> Relocations; argument 221 LLVM_YAML_IS_SEQUENCE_VECTOR(XCOFFYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 264 template <> struct MappingTraits<XCOFFYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 265 static void mapping(IO &IO, XCOFFYAML::Relocation &R); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| H A D | WasmYAML.h | 114 struct Relocation { struct 191 std::vector<Relocation> Relocations; 437 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() 512 template <> struct MappingTraits<WasmYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 513 static void mapping(IO &IO, WasmYAML::Relocation &Relocation); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.h | 26 struct Relocation { struct 27 Relocation() = default; 28 Relocation(const object::coff_relocation &R) : Reloc(R) {} in Relocation() function 37 std::vector<Relocation> Relocs; argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | MachOYAML.cpp | 318 void MappingTraits<MachOYAML::Relocation>::mapping( in mapping() 319 IO &IO, MachOYAML::Relocation &Relocation) { in mapping() argument 320 IO.mapRequired("address", Relocation.address); in mapping() 321 IO.mapRequired("symbolnum", Relocation.symbolnum); in mapping() 322 IO.mapRequired("pcrel", Relocation.is_pcrel); in mapping() 323 IO.mapRequired("length", Relocation.length); in mapping() 324 IO.mapRequired("extern", Relocation.is_extern); in mapping() 325 IO.mapRequired("type", Relocation.type); in mapping() 326 IO.mapRequired("scattered", Relocation.is_scattered); in mapping() 327 IO.mapRequired("value", Relocation.value); in mapping()
|
| /freebsd-14.2/tools/build/options/ |
| H A D | WITHOUT_RELRO | 1 Do not apply the Relocation Read-Only (RELRO) vulnerability mitigation.
|
| H A D | WITH_RELRO | 1 Build all binaries with the Relocation Read-Only (RELRO) vulnerability
|