Home
last modified time | relevance | path

Searched refs:Elf_Shdr (Results 1 – 14 of 14) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/include/llvm/Object/
H A DELF.h125 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef
140 typedef ELFEntityIterator<const Elf_Shdr> Elf_Shdr_Iter;
231 typedef SmallVector<const Elf_Shdr *, 2> Sections_t;
241 const Elf_Shdr *SectionHeaderTable;
242 const Elf_Shdr *dot_shstrtab_sec; // Section header string table.
243 const Elf_Shdr *dot_strtab_sec; // Symbol header string table.
244 const Elf_Shdr *dot_symtab_sec; // Symbol table section.
246 const Elf_Shdr *SymbolTableSectionHeaderIndex;
249 const Elf_Shdr *dot_gnu_version_sec; // .gnu.version
250 const Elf_Shdr *dot_gnu_version_r_sec; // .gnu.version_r
[all …]
H A DELFObjectFile.h64 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef
128 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection()
163 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI()
400 const Elf_Shdr *ESec = EF.getSection(ESym); in getSymbolSection()
500 const Elf_Shdr *S = reinterpret_cast<const Elf_Shdr *>(Sec.p); in section_rel_end()
521 const Elf_Shdr *R = EF.getSection(EShdr->sh_info); in getRelocatedSection()
535 const Elf_Shdr *sec = getRelSection(Rel); in getRelocationSymbol()
551 const Elf_Shdr *SymSec = EF.getSection(sec->sh_link); in getRelocationSymbol()
576 const Elf_Shdr *RelocationSec = getRelSection(Rel); in getRelocationAddress()
577 const Elf_Shdr *RelocatedSec = EF.getSection(RelocationSec->sh_info); in getRelocationAddress()
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/obj2yaml/
H A Delf2yaml.cpp24 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anon80de02880111::ELFDumper
30 std::error_code dumpCommonSection(const Elf_Shdr *Shdr, ELFYAML::Section &S);
31 std::error_code dumpCommonRelocationSection(const Elf_Shdr *Shdr,
34 std::error_code dumpRelocation(const Elf_Shdr *Shdr, const RelT *Rel,
37 ErrorOr<ELFYAML::RelocationSection *> dumpRelSection(const Elf_Shdr *Shdr);
38 ErrorOr<ELFYAML::RelocationSection *> dumpRelaSection(const Elf_Shdr *Shdr);
40 dumpContentSection(const Elf_Shdr *Shdr);
67 for (const Elf_Shdr &Sec : Obj.sections()) { in dump()
143 const Elf_Shdr *Shdr = Obj.getSection(&*Sym); in dumpSymbol()
157 std::error_code ELFDumper<ELFT>::dumpRelocation(const Elf_Shdr *Shdr, in dumpRelocation()
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp100 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; typedef in __anon9c1c05c80311::ELFState
119 bool initSectionHeaders(std::vector<Elf_Shdr> &SHeaders,
121 void initSymtabSectionHeader(Elf_Shdr &SHeader,
123 void initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name,
128 void writeSectionContent(Elf_Shdr &SHeader,
131 bool writeSectionContent(Elf_Shdr &SHeader,
171 Header.e_shentsize = sizeof(Elf_Shdr); in initELFHeader()
179 bool ELFState<ELFT>::initSectionHeaders(std::vector<Elf_Shdr> &SHeaders, in initSectionHeaders()
183 Elf_Shdr SHeader; in initSectionHeaders()
235 void ELFState<ELFT>::initSymtabSectionHeader(Elf_Shdr &SHeader, in initSymtabSectionHeader()
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h312 typedef typename object::ELFFile<ET>::Elf_Shdr Elf_Shdr; typedef
328 const Elf_Shdr *FindExceptionTable(unsigned IndexTableIndex,
331 void PrintIndexTable(unsigned SectionIndex, const Elf_Shdr *IT) const;
332 void PrintExceptionTable(const Elf_Shdr *IT, const Elf_Shdr *EHT,
358 const typename object::ELFFile<ET>::Elf_Shdr *
380 std::pair<const Elf_Shdr *, const Elf_Sym *> Symbol = in FindExceptionTable()
392 void PrinterContext<ET>::PrintExceptionTable(const Elf_Shdr *IT, in PrintExceptionTable()
393 const Elf_Shdr *EHT, in PrintExceptionTable()
461 const Elf_Shdr *IT) const { in PrintIndexTable()
512 const Elf_Shdr *EHT = in PrintIndexTable()
[all …]
H A DELFDumper.cpp62 typedef typename ELFO::Elf_Shdr Elf_Shdr; typedef in __anoncc0d1b2f0111::ELFDumper
67 void printRelocations(const Elf_Shdr *Sec);
68 void printRelocation(const Elf_Shdr *Sec, typename ELFO::Elf_Rela Rel);
159 const typename ELFO::Elf_Shdr *Sec = Obj.getSection(SectionIndex); in getSectionNameIndex()
165 static const typename ELFFile<ELFT>::Elf_Shdr *
574 const Elf_Shdr *Section = &*SecI; in printSections()
641 void ELFDumper<ELFT>::printRelocations(const Elf_Shdr *Sec) { in printRelocations()
665 void ELFDumper<ELFT>::printRelocation(const Elf_Shdr *Sec, in printRelocation()
670 std::pair<const Elf_Shdr *, const Elf_Sym *> Sym = in printRelocation()
1041 typedef typename ObjectFile::Elf_Shdr Elf_Shdr; typedef in __anoncc0d1b2f0411::MipsGOTParser
[all …]
/minix3/sys/lib/libsa/
H A Dlookup_elf32.c50 Elf_Shdr *shp; in ELFNAMEEND()
68 shp = (Elf_Shdr *)((char *)sstab + elf->e_shoff); in ELFNAMEEND()
H A Dloadfile_elf32.c184 internalize_shdr(Elf_Byte bo, Elf_Shdr *shdr) in internalize_shdr()
215 externalize_shdr(Elf_Byte bo, Elf_Shdr *shdr) in externalize_shdr()
261 Elf_Shdr *shp; in ELFNAMEEND()
388 sz = elf->e_shnum * sizeof(Elf_Shdr); in ELFNAMEEND()
/minix3/sys/sys/
H A Dkobj_impl.h111 Elf_Shdr *ko_shdr;
H A Dksyms.h74 Elf_Shdr kh_shdr[NSECHDR];
H A Dexec_elf.h1057 #define Elf_Shdr Elf32_Shdr macro
1083 #define Elf_Shdr Elf64_Shdr macro
/minix3/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; typedef in __anon5d6abd840111::DyldELFObject
86 Elf_Shdr *shdr = in updateSectionAddress()
87 const_cast<Elf_Shdr *>(reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in updateSectionAddress()
121 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; in createRTDyldELFObject() typedef
133 Elf_Shdr *shdr = const_cast<Elf_Shdr *>( in createRTDyldELFObject()
134 reinterpret_cast<const Elf_Shdr *>(ShdrRef.p)); in createRTDyldELFObject()
/minix3/lib/libc/gen/
H A Dnlist_elf32.c90 Elf_Shdr *shdrp, *symshdrp, *symstrshdrp; in ELFNAMEEND()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp647 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getSymbolNMTypeChar() typedef
655 const Elf_Shdr *ESec = EF.getSection(ESym); in getSymbolNMTypeChar()