/toolchain/binutils/binutils-2.25/gold/ |
reloc-types.h | 0 // reloc-types.h -- ELF relocation templates for gold -*- C++ -*- 43 typedef typename elfcpp::Rel<size, big_endian> Reloc; 48 get_reloc_addend(const Reloc*) 52 get_reloc_addend_noerror(const Reloc*) 61 copy_reloc_addend(Reloc_write*, const Reloc*) 68 typedef typename elfcpp::Rela<size, big_endian> Reloc; 73 get_reloc_addend(const Reloc* p) 77 get_reloc_addend_noerror(const Reloc* p) 86 copy_reloc_addend(Reloc_write* to, const Reloc* from)
|
copy-relocs.h | 27 #include "reloc-types.h" 42 // not. So we have to save the relocation during the reloc scanning, 46 // The template parameter SH_TYPE is the type of the reloc section to 53 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reloc; 61 // against a symbol which may force us to generate a COPY reloc. 65 // will wind up. REL is the reloc itself. The Output_data_reloc 71 const Reloc& rel, 84 // Emit a COPY reloc. 118 // Make a new COPY reloc and emit it [all...] |
arm.cc | 39 #include "reloc.h" 47 #include "target-reloc.h" 53 #include "arm-reloc-property.h" 116 // - Implement all static relocation types documented in arm-reloc.def. 129 // An alternative is to to process the information in arm-reloc.def in 268 // First reloc stub type. 270 // Last reloc stub type. 350 typedef std::pair<size_t, section_size_type> Reloc; 369 // A table of reloc instruction indices and offsets. We can find these by 372 std::vector<Reloc> relocs_ [all...] |
reloc.cc | 0 // reloc.cc -- relocate input files for gold. 33 #include "target-reloc.h" 34 #include "reloc.h" 335 this->error(_("unexpected entsize for reloc section %u: %lu != %u"), 344 this->error(_("reloc section %u size %lu uneven"), 617 typedef typename Reloc_types<sh_type, size, big_endian>::Reloc Reltype; 624 Reltype reloc(prelocs); 628 reloc.get_r_offset())) 632 reloc.get_r_info(); 752 // This is a reloc section in a relocatable link or whe [all...] |
sparc.cc | 31 #include "reloc.h" 39 #include "target-reloc.h" 240 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 249 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 348 // If we hit a reloc at this view address, adjust it back by 4 bytes. 403 // Get the dynamic reloc section, creating it if necessary. 416 Symbol* sym, const elfcpp::Rela<size, big_endian>& reloc) 421 reloc, this->rela_dyn_section(layout)); 443 // The dynamic reloc section. 447 // Relocs saved to avoid a COPY reloc 533 Valtype reloc = ((value + addend) >> right_shift); local 555 Valtype reloc = (psymval->value(object, addend) >> right_shift); local 577 Valtype reloc = (psymval->value(object, addend) >> right_shift); local 600 Valtype reloc = ((psymval->value(object, addend) - address) local 620 Valtype reloc = (psymval->value(object, addend) - address); local 676 Valtype reloc = ((psymval->value(object, addend) - address) local 699 Valtype reloc = ((psymval->value(object, addend) - address) local 808 Valtype reloc = psymval->value(object, addend); local 1078 Valtype reloc = (value + addend); local 1095 Valtype reloc = (value + addend); local 1116 int32_t reloc = static_cast<int32_t>(value + addend); local 1139 Valtype reloc = psymval->value(object, addend); local 1161 Valtype reloc = (value + addend); local 1179 int32_t reloc = static_cast<int32_t>(value + addend); local 1200 Valtype reloc = psymval->value(object, addend); local [all...] |
aarch64.cc | 32 #include "reloc.h" 40 #include "target-reloc.h" 47 #include "aarch64-reloc-property.h" 443 // Add a static reloc for the GOT entry at OFFSET. RELOBJ is an object 488 Static_reloc& reloc(this->static_relocs_[i]); 491 if (!reloc.symbol_is_global()) 493 Sized_relobj_file<size, big_endian>* object = reloc.relobj(); 495 reloc.relobj()->local_symbol(reloc.index()); 509 reloc.index(), reloc.relobj()->name().c_str()) [all...] |
powerpc.cc | 31 #include "reloc.h" 39 #include "target-reloc.h" 364 // Whether input section has a 14-bit branch reloc. 925 // symbol as the reloc on the insn setting up the __tls_get_addr 931 // Info about the last reloc for error message. 955 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 964 const elfcpp::Rela<size, big_endian>& reloc, unsigned int r_type, 979 // That means no reloc is of concern here. 1179 // Get the dynamic reloc section, creating it if necessary. 1192 Symbol* sym, const elfcpp::Rela<size, big_endian>& reloc) 1572 Valtype reloc = value >> right_shift; local 1599 Valtype reloc = value >> right_shift; local [all...] |
/external/llvm/include/llvm/Support/ |
CodeGen.h | 24 namespace Reloc {
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFAcceleratorTable.cpp | 107 RelocAddrMap::const_iterator Reloc = Relocs.find(DataOffset-4); 108 if (Reloc != Relocs.end()) 109 StringOffset += Reloc->second.second;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | [all...] |
/external/llvm/lib/MC/ |
WinCOFFObjectWriter.cpp | 718 COFFRelocation Reloc; 720 Reloc.Data.SymbolTableIndex = 0; 721 Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment); 729 Reloc.Symb = SectionMap[TargetSection]->Symbol; 735 Reloc.Symb = SymbolMap[&A]; 738 ++Reloc.Symb->Relocations; 740 Reloc.Data.VirtualAddress += Fixup.getOffset(); 741 Reloc.Data.Type = TargetObjectWriter->getRelocType( 747 Reloc.Data.Type == COFF::IMAGE_REL_AMD64_REL32) || 749 Reloc.Data.Type == COFF::IMAGE_REL_I386_REL32) [all...] |
/external/llvm/lib/Object/ |
COFFObjectFile.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
RewriteStatepointsForGC.cpp | [all...] |
/external/llvm/tools/llvm-objdump/ |
MachODump.cpp | 774 for (const RelocationRef &Reloc : Section.relocations()) { 778 Rel = Reloc.getRawDataRefImpl(); 782 uint64_t RelocOffset = Reloc.getOffset(); 783 symbol_iterator RelocSym = Reloc.getSymbol(); 811 auto Reloc = std::find_if( 814 if (Reloc != Relocs.end()) { 815 symbol_iterator RelocSym = Reloc->second; [all...] |