Searched refs:Ehdr (Results 1 – 17 of 17) sorted by relevance
1459 const typename ELFT::Ehdr &Ehdr = HeadersFile.getHeader(); in readProgramHeaders() local1469 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders()1901 Obj.Type = Ehdr.e_type; in build()1984 std::fill(Ehdr.e_ident, Ehdr.e_ident + 16, 0); in writeEhdr()1997 Ehdr.e_type = Obj.Type; in writeEhdr()2004 Ehdr.e_phoff = (Ehdr.e_phnum != 0) ? Obj.ProgramHdrSegment.Offset : 0; in writeEhdr()2005 Ehdr.e_phentsize = (Ehdr.e_phnum != 0) ? sizeof(Elf_Phdr) : 0; in writeEhdr()2019 Ehdr.e_shnum = 0; in writeEhdr()2034 Ehdr.e_shoff = 0; in writeEhdr()2035 Ehdr.e_shnum = 0; in writeEhdr()[all …]
326 using Elf_Ehdr = typename ELFT::Ehdr;
159 extern const ElfW(Ehdr) __ehdr_start __attribute__((visibility("hidden"))); in __llvm_write_binary_ids()160 const ElfW(Ehdr) *ElfHeader = &__ehdr_start; in __llvm_write_binary_ids()
66 __ElfType(Ehdr);
66 [ELF_T_EHDR] = MALIGN(Ehdr),
42 `EHDR, Ehdr',
35 __sElfN(Ehdr);
52 static void initELFHeader(typename ELFT::Ehdr &ElfHeader, uint16_t Machine) { in initELFHeader()69 ElfHeader.e_ehsize = sizeof(typename ELFT::Ehdr); in initELFHeader()172 using Elf_Ehdr = typename ELFT::Ehdr;
1390 uint64_t off = sizeof(typename ELFT::Ehdr); in writeARMCmseImportLib()1421 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeARMCmseImportLib()1433 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeARMCmseImportLib()
27 typedef ElfW(Ehdr) Elf_Ehdr;
58 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>; member113 using Elf_Ehdr = typename ELFT::Ehdr; \
3746 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeEhdr()3755 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeEhdr()3760 eHdr->e_phoff = sizeof(typename ELFT::Ehdr); in writeEhdr()3787 return sizeof(typename ELFT::Ehdr); in getSize()3795 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeTo()
2132 Out::elfHeader->size = sizeof(typename ELFT::Ehdr); in finalizeSections()
344 extern ElfW(Ehdr) __ehdr_start; in __hwasan_init_static()
331 auto *ehdr = reinterpret_cast<const ElfW(Ehdr) *>(info.dli_fbase); in GetGlobalSizeFromDescriptor()
1233 typedef ElfW(Ehdr) Elf_Ehdr; in ForEachMappedRegion()
3528 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeadersNumString()3548 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeaderTableIndexString()3872 const typename ELFT::Ehdr &EHeader) { in printRelocHeaderFields()3906 const typename ELFT::Ehdr &EHeader) { in isRelocationSec()