/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | AArch64.cpp | 50 void relocate(uint8_t *loc, const Relocation &rel, 56 void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 57 void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 58 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 64 AArch64Relaxer(ArrayRef<Relocation> relocs); 65 bool tryRelaxAdrpAdd(const Relocation &adrpRel, const Relocation &addRel, 67 bool tryRelaxAdrpLdr(const Relocation &adrpRel, const Relocation &ldrRel, 449 void AArch64::relocate(uint8_t *loc, const Relocation &rel, in relocate() 639 void AArch64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() 670 void AArch64::relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToIe() [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 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() 329 for (Relocation &rel : sec->relocs()) { in relaxOnce() 462 static void relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsGdToLe() 502 static void relaxTlsGdToIe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsGdToIe() 543 static void relaxTlsIeToLe(uint8_t *loc, const Relocation &, uint64_t val) { in relaxTlsIeToLe() argument 584 static void relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in relaxTlsLdToLe() [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 | 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; 204 void relaxTlsIeToLe(uint8_t *loc, const Relocation &rel, uint64_t val) const; 380 static bool tryRelaxPPC64TocIndirection(const Relocation &rel, in tryRelaxPPC64TocIndirection() 652 void PPC64::relaxGot(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relaxGot() 716 void PPC64::relaxTlsGdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsGdToLe() 779 void PPC64::relaxTlsLdToLe(uint8_t *loc, const Relocation &rel, in relaxTlsLdToLe() [all …]
|
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, 335 void RISCV::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() 546 static bool relaxable(ArrayRef<Relocation> relocs, size_t i) { in relaxable() 550 static void tlsdescToIe(uint8_t *loc, const Relocation &rel, uint64_t val) { in tlsdescToIe() 570 static void tlsdescToLe(uint8_t *loc, const Relocation &rel, uint64_t val) { in tlsdescToLe() 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() [all …]
|
H A D | SPARCV9.cpp | 29 void relocate(uint8_t *loc, const Relocation &rel, 87 void SPARCV9::relocate(uint8_t *loc, const Relocation &rel, in relocate()
|
/freebsd/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/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, in checkInt() 255 inline void checkInt(uint8_t *loc, int64_t v, int n, const Relocation &rel) { in checkUInt() 261 inline void checkUInt(uint8_t *loc, uint64_t v, int n, const Relocation &rel) { in checkIntUInt() 268 const Relocation &rel) { in checkIntUInt() 277 const Relocation &rel) {
|
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() 358 bool isCompatibleWith(const InputSection &isec, const Relocation &rel) const override; 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() [all …]
|
H A D | Relocations.h | 124 struct Relocation { struct 167 const Relocation &rel, uint64_t src); 173 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel, 179 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
|
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 | 413 Relocation operator()(const RelTy &rel) const { in copyRelocations() 415 return Relocation{R_NONE, rel.getType(config->isMips64EL), rel.r_offset, in copyRelocations() 441 for (const Relocation &rel : rels) { in copyRelocations() 630 static Relocation *getRISCVPCRelHi20(const Symbol *sym, uint64_t addend) { in getRISCVPCRelHi20() 645 Relocation r; in getRISCVPCRelHi20() 649 [](const Relocation &lhs, const Relocation &rhs) { in getRISCVPCRelHi20() 822 if (const Relocation *hiRel = getRISCVPCRelHi20(&sym, a)) in getRelocTargetVA() 1118 SmallVector<Relocation *, 0> &morestackCalls) { in switchMorestackCallsToMorestackNonSplit() argument 1131 llvm::sort(morestackCalls, [](const Relocation *l, const Relocation *r) { in switchMorestackCallsToMorestackNonSplit() 1168 SmallVector<Relocation *, 0> morestackCalls; in adjustSplitStackFunctionPrologues() [all …]
|
H A D | InputSection.h | 254 SmallVector<Relocation, 0> relocations; 256 void addReloc(const Relocation &r) { relocations.push_back(r); } in addReloc() 257 MutableArrayRef<Relocation> relocs() { return relocations; } in relocs() 258 ArrayRef<Relocation> relocs() const { return relocations; } in relocs()
|
/freebsd/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 84 std::vector<Relocation> Relocations; argument 225 LLVM_YAML_IS_SEQUENCE_VECTOR(XCOFFYAML::Relocation) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 276 template <> struct MappingTraits<XCOFFYAML::Relocation> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 277 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/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/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 318 void MappingTraits<MachOYAML::Relocation>::mapping( in mapping() argument 319 IO &IO, MachOYAML::Relocation &Relocation) { in mapping() 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 in mapping() [all...] |
H A D | WasmYAML.cpp | 321 void MappingTraits<WasmYAML::Relocation>::mapping( in mapping() 322 IO &IO, WasmYAML::Relocation &Relocation) { in mapping() argument 323 IO.mapRequired("Type", Relocation.Type); in mapping() 324 IO.mapRequired("Index", Relocation.Index); in mapping() 325 IO.mapRequired("Offset", Relocation.Offset); in mapping() 326 IO.mapOptional("Addend", Relocation.Addend, 0); in mapping()
|
/freebsd/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
|