| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | Relocations.cpp | 108 C.Relocations.push_back({Expr, Type, Offset, Addend, &Sym}); in handleMipsTlsRelocation() 113 C.Relocations.push_back({Expr, Type, Offset, Addend, &Sym}); in handleMipsTlsRelocation() 206 C.Relocations.push_back( in handleTlsRelocation() 222 C.Relocations.push_back( in handleTlsRelocation() 239 In.Got->Relocations.push_back( in handleTlsRelocation() 259 In.Got->Relocations.push_back( in handleTlsRelocation() 269 C.Relocations.push_back( in handleTlsRelocation() 278 C.Relocations.push_back( in handleTlsRelocation() 1090 Sec.Relocations.reserve(Rels.size()); in scanRelocs() 1097 std::stable_sort(Sec.Relocations.begin(), Sec.Relocations.end(), in scanRelocs() [all …]
|
| H A D | AArch64ErrataFix.cpp | 556 IS->Relocations.begin(), IS->Relocations.end(), in implementPatch() 558 if (RelIt != IS->Relocations.end() && in implementPatch() 572 if (RelIt != IS->Relocations.end()) { in implementPatch() 573 PS->Relocations.push_back( in implementPatch() 577 IS->Relocations.push_back(MakeRelToPatch(PatcheeOffset, PS->PatchSym)); in implementPatch()
|
| H A D | CMakeLists.txt | 39 Relocations.cpp
|
| H A D | InputSection.cpp | 470 Sec->Relocations.push_back({R_ABS, Type, Rel.r_offset, Addend, &Sym}); in copyRelocations() 563 auto Range = std::equal_range(IS->Relocations.begin(), IS->Relocations.end(), in getRISCVPCRelHi20() 841 for (const Relocation &Rel : Sec->Relocations) { in relocateNonAllocForRelocatable() 873 for (const Relocation &Rel : Relocations) { in relocateAlloc() 990 for (Relocation &Rel : Relocations) { in adjustSplitStackFunctionPrologues()
|
| H A D | InputSection.h | 191 std::vector<Relocation> Relocations; variable
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | WinCOFFObjectWriter.cpp | 85 int Relocations = 0; member in __anon7d37be940111::COFFSymbol 120 relocations Relocations; member in __anon7d37be940111::COFFSection 570 if (Section->Relocations.size() >= 0xffff) in writeSectionHeaders() 636 if (Sec.Relocations.empty()) { in writeSection() 645 if (Sec.Relocations.size() >= 0xffff) { in writeSection() 649 R.VirtualAddress = Sec.Relocations.size() + 1; in writeSection() 655 for (const auto &Relocation : Sec.Relocations) in writeSection() 769 ++Reloc.Symb->Relocations; in recordRelocation() 826 Sec->Relocations.push_back(Reloc); in recordRelocation() 913 if (!Sec->Relocations.empty()) { in assignFileOffsets() [all …]
|
| H A D | ELFObjectWriter.cpp | 235 DenseMap<const MCSectionELF *, std::vector<ELFRelocationEntry>> Relocations; member in __anon34241cdf0111::ELFObjectWriter 254 Relocations.clear(); in reset() 783 if (OWriter.Relocations[&Sec].empty()) in createRelocationSection() 912 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec]; in writeRelocations() 1083 std::vector<MCSectionELF *> Relocations; in writeObject() local 1123 Relocations.push_back(RelSection); in writeObject() 1171 for (MCSectionELF *RelSection : Relocations) { in writeObject() 1501 Relocations[&FixupSection].push_back(Rec); in recordRelocation() 1517 Relocations[&FixupSection].push_back(Rec); in recordRelocation()
|
| H A D | WasmObjectWriter.cpp | 309 std::vector<WasmRelocationEntry> &Relocations); 321 void applyRelocations(ArrayRef<WasmRelocationEntry> Relocations, 676 ArrayRef<WasmRelocationEntry> Relocations, uint64_t ContentsOffset) { in applyRelocations() argument 678 for (const WasmRelocationEntry &RelEntry : Relocations) { in applyRelocations() 966 auto &Relocations = CustomSectionsRelocations[Sec.Section]; in writeCustomRelocSections() local 967 writeRelocSection(Sec.OutputIndex, Sec.Name, Relocations); in writeCustomRelocSections() 1071 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSections() local 1072 applyRelocations(Relocations, CustomSection.OutputContentsOffset); in writeCustomSections()
|
| H A D | MachObjectWriter.cpp | 45 Relocations.clear(); in reset() 611 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable() 836 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() 950 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | llvm-readobj.cpp | 111 cl::opt<bool> Relocations("relocations", variable 114 cl::aliasopt(Relocations), cl::NotHidden); 116 cl::aliasopt(Relocations)); 451 if (opts::Relocations) in dumpObject() 683 opts::Relocations = true; in main()
|
| /freebsd-12.1/contrib/llvm/include/llvm/MC/ |
| H A D | MCMachObjectWriter.h | 106 DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations; variable 231 Relocations[Sec].push_back(P); in addRelocation()
|
| H A D | MCTargetOptionsCommandFlags.inc | 41 static cl::opt<bool> PIECopyRelocations("pie-copy-relocations", cl::desc("PIE Copy Relocations"));
|
| /freebsd-12.1/contrib/llvm/tools/lld/lib/ReaderWriter/MachO/ |
| H A D | ArchHandler.h | 195 normalized::Relocations&) = 0; 309 static void appendReloc(normalized::Relocations &relocs, uint32_t offset,
|
| H A D | MachONormalizedFile.h | 98 typedef std::vector<Relocation> Relocations; typedef 125 Relocations relocations;
|
| H A D | ArchHandler.cpp | 116 void ArchHandler::appendReloc(normalized::Relocations &relocs, uint32_t offset, in appendReloc()
|
| H A D | MachONormalizedFileYAML.cpp | 81 struct SequenceTraits< Relocations > { 82 static size_t size(IO &io, Relocations &seq) { in size() 85 static Relocation& element(IO &io, Relocations &seq, size_t index) { in element()
|
| H A D | ArchHandler_x86.cpp | 122 normalized::Relocations &relocs) override; 559 normalized::Relocations &relocs) { in appendSectionRelocations()
|
| /freebsd-12.1/contrib/binutils/bfd/doc/ |
| H A D | bfd.texinfo | 184 a set of relocations (@pxref{Relocations}), and 210 * Relocations:: 256 @node Formats, Relocations, Archives, BFD front end 259 @node Relocations, Core Files, Formats, BFD front end 262 @node Core Files, Targets, Relocations, BFD front end
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyld.cpp | 146 for (auto it = Relocations.begin(), e = Relocations.end(); it != e; ++it) { in resolveLocalRelocations() 156 Relocations.clear(); in resolveLocalRelocations() 848 Relocations[SectionID].push_back(RE); in addRelocationForSection() 864 Relocations[SymInfo.getSectionID()].push_back(RECopy); in addRelocationForSymbol()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 96 Sec.Size = Sec.Relocations.size() * Sec.EntrySize; in visit() 586 static void writeRel(const RelRange &Relocations, T *Buf) { in writeRel() argument 587 for (const auto &Reloc : Relocations) { in writeRel() 599 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rel *>(Buf)); in visit() 601 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rela *>(Buf)); in visit() 614 for (const Relocation &Reloc : Relocations) in removeSymbols() 621 for (const Relocation &Reloc : Relocations) in markSymbols()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.h | 62 extern cl::opt<bool> Relocations;
|
| H A D | llvm-objdump.cpp | 110 llvm::Relocations("reloc", member in llvm 114 cl::aliasopt(llvm::Relocations)); 2380 disassembleObject(O, Relocations); in dumpObject() 2381 if (Relocations && !Disassemble) in dumpObject() 2502 FileHeaders = PrivateHeaders = Relocations = SectionHeaders = SymbolTable = in main() 2509 && !Relocations in main()
|
| /freebsd-12.1/usr.bin/clang/lld/ |
| H A D | Makefile | 61 SRCS+= ELF/Relocations.cpp
|
| /freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/ |
| H A D | COFFYAML.h | 78 std::vector<Relocation> Relocations; member
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 756 Section.Relocations.push_back(Reloc); in parseRelocSection() 1366 RelocRef.d.b = Sec.Relocations.size(); in section_rel_end() 1456 assert(Ref.d.b < Sec.Relocations.size()); in getWasmRelocation() 1457 return Sec.Relocations[Ref.d.b]; in getWasmRelocation()
|