/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachORelocationInfo.cpp | 27 const MCExpr *createExprForRelocation(RelocationRef Rel) override { 28 const MachOObjectFile *Obj = cast<MachOObjectFile>(Rel.getObject()); 30 uint64_t RelType = Rel.getType(); 31 symbol_iterator SymI = Rel.getSymbol(); 39 any_relocation_info RE = Obj->getRelocation(Rel.getRawDataRefImpl()); 78 Rel.moveNext(); 80 Obj->getRelocation(Rel.getRawDataRefImpl()); 92 symbol_iterator RSymI = Rel.getSymbol();
|
X86ELFRelocationInfo.cpp | 28 const MCExpr *createExprForRelocation(RelocationRef Rel) override { 29 uint64_t RelType = Rel.getType(); 30 elf_symbol_iterator SymI = Rel.getSymbol(); 41 int64_t Addend = *ELFRelocationRef(Rel).getAddend();
|
/external/llvm/include/llvm/MC/ |
MCRelocationInfo.h | 41 /// \brief Create an MCExpr for the relocation \p Rel. 42 /// \returns If possible, an MCExpr corresponding to Rel, else 0. 43 virtual const MCExpr *createExprForRelocation(object::RelocationRef Rel);
|
/external/llvm/lib/MC/MCDisassembler/ |
MCRelocationInfo.cpp | 25 MCRelocationInfo::createExprForRelocation(object::RelocationRef Rel) {
|
/frameworks/compile/mclinker/include/mcld/Target/ |
ELFDynamic.h | 54 typedef llvm::ELF::Elf32_Rel Rel; 68 size_t relSize() const { return sizeof(Rel); } 85 typedef llvm::ELF::Elf64_Rel Rel; 99 size_t relSize() const { return sizeof(Rel); }
|
/external/llvm/include/llvm/Object/ |
ELFObjectFile.h | 57 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0; 229 void moveRelocationNext(DataRefImpl &Rel) const override; 230 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 231 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 232 uint64_t getRelocationType(DataRefImpl Rel) const override; 233 void getRelocationTypeName(DataRefImpl Rel, 240 /// \brief Get the relocation section that contains \a Rel. 241 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { 242 return *EF.getSection(Rel.d.a); 302 const Elf_Rel *getRel(DataRefImpl Rel) const [all...] |
MachO.h | 232 void moveRelocationNext(DataRefImpl &Rel) const override; 233 uint64_t getRelocationOffset(DataRefImpl Rel) const override; 234 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override; 235 section_iterator getRelocationSection(DataRefImpl Rel) const; 236 uint64_t getRelocationType(DataRefImpl Rel) const override; 237 void getRelocationTypeName(DataRefImpl Rel, 239 uint8_t getRelocationLength(DataRefImpl Rel) const; 244 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const; 380 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const; 381 MachO::data_in_code_entry getDice(DataRefImpl Rel) const [all...] |
ObjectFile.h | 228 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0; 229 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0; 230 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0; 231 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0; 232 virtual void getRelocationTypeName(DataRefImpl Rel,
|
/bionic/tools/relocation_packer/src/ |
elf_file.h | 7 // Provides functions to pack relocations in the .rel.dyn or .rela.dyn 10 // SetPadding() causes PackRelocations() to pad .rel.dyn or .rela.dyn with 31 // between .rel.dyn or .rela.dyn and .android.rel.dyn or .android.rela.dyn 43 // the .rel.dyn or .rela.dyn section, but instead replace relative with 45 // |flag| is true to pad .rel.dyn or .rela.dyn, false to shrink it. 48 // Transfer relative relocations from .rel.dyn or .rela.dyn to a packed 49 // representation in .android.rel.dyn or .android.rela.dyn. Returns true 54 // .android.rel.dyn or .android.rela.dyn to .rel.dyn or .rela.dyn. Return [all...] |
elf_traits.h | 26 typedef Elf32_Rel Rel; 50 typedef Elf64_Rel Rel;
|
elf_file.cc | 131 // the .rel.dyn or .rela.dyn, .dynamic, and .android.rel.dyn or 212 if ((name == ".rel.dyn" || name == ".rela.dyn") && 238 LOG(ERROR) << "Missing or empty .rel.dyn or .rela.dyn section"; 260 relocations_type_ = has_rel_relocations ? REL : RELA; 690 if (relocations_type_ == REL) { 692 const typename ELF::Rel* relocations_base = reinterpret_cast<typename ELF::Rel*>(data->d_buf); 694 data->d_size / sizeof(typename ELF::Rel), &relocations); 695 VLOG(1) << "Relocations : REL"; 982 typename ELF::Rel rel; local [all...] |
/external/elfutils/libelf/ |
gelf_xlate.h | 45 TYPE (Rel, LIBELFBITS)
|
abstract.h | 137 START (32, Rel, Ext##Rel) \ 140 END (32, Ext##Rel) 142 START (64, Rel, Ext##Rel) \ 145 END (64, Ext##Rel)
|
/bionic/linker/ |
linker_reloc_iterators.h | 33 typedef ElfW(Rel) rel_t; 59 typedef ElfW(Rel) rel_t; 126 DL_ERR("unexpected r_addend in android.rel section");
|
/toolchain/binutils/binutils-2.25/gold/ |
reloc-types.h | 43 typedef typename elfcpp::Rel<size, big_endian> Reloc;
|
/external/llvm/tools/obj2yaml/ |
coff2yaml.cpp | 121 COFFYAML::Relocation Rel; 126 Rel.SymbolName = *SymbolNameOrErr; 127 Rel.VirtualAddress = reloc->VirtualAddress; 128 Rel.Type = reloc->Type; 129 Relocations.push_back(Rel);
|
elf2yaml.cpp | 37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 204 std::error_code ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, 207 R.Type = Rel->getType(Obj.isMips64EL()); 208 R.Offset = Rel->r_offset; 211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab);
|
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 381 DataRefImpl Rel = RelRef.getRawDataRefImpl(); 389 ErrorOr<const Elf_Shdr *> SecOrErr = EF.getSection(Rel.d.a); 417 const Elf_Rela *ERela = Obj->getRela(Rel); 493 const RelocationRef &Rel, 496 return getRelocationValueString(ELF32LE, Rel, Result); 498 return getRelocationValueString(ELF64LE, Rel, Result); 500 return getRelocationValueString(ELF32BE, Rel, Result); 502 return getRelocationValueString(ELF64BE, Rel, Result); 506 const RelocationRef &Rel, 508 symbol_iterator SymI = Rel.getSymbol() [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.h | 95 RelocationValueRef &Rel); 98 RelocationValueRef &Rel);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
SizeTraits.h | 54 typedef llvm::ELF::Elf32_Rel Rel; 74 typedef llvm::ELF::Elf64_Rel Rel;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
ELFReader.h | 42 typedef llvm::ELF::Elf32_Rel Rel; 88 /// readRel - read ELF rel and create Relocation 127 typedef llvm::ELF::Elf64_Rel Rel; 173 /// readRel - read ELF rel and create Relocation
|
/external/llvm/lib/MC/ |
MachObjectWriter.cpp | 590 for (RelAndSymbol &Rel : Relocations[&Section]) { 591 if (!Rel.Sym) 595 unsigned Index = Rel.Sym->getIndex(); 598 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27); 600 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4); 909 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) [all...] |
/external/llvm/lib/Object/ |
COFFYAML.cpp | 343 COFFYAML::Relocation &Rel) { 344 IO.mapRequired("VirtualAddress", Rel.VirtualAddress); 345 IO.mapRequired("SymbolName", Rel.SymbolName); 350 IO, Rel.Type); 354 IO, Rel.Type); 357 IO.mapRequired("Type", Rel.Type);
|
MachOObjectFile.cpp | 603 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { 604 ++Rel.d.b; 607 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const { 610 MachO::any_relocation_info RE = getRelocation(Rel); 615 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { 616 MachO::any_relocation_info RE = getRelocation(Rel); 636 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const { 637 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); 640 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const { 641 MachO::any_relocation_info RE = getRelocation(Rel); [all...] |
COFFObjectFile.cpp | [all...] |