Searched refs:Ehdr (Results 1 – 18 of 18) sorted by relevance
1488 const typename ELFT::Ehdr &Ehdr = HeadersFile.getHeader(); in readProgramHeaders() local1496 PrHdr.OriginalOffset = PrHdr.Offset = PrHdr.VAddr = EhdrOffset + Ehdr.e_phoff; in readProgramHeaders()1498 PrHdr.FileSize = PrHdr.MemSize = Ehdr.e_phentsize * Ehdr.e_phnum; in readProgramHeaders()1934 const typename ELFFile<ELFT>::Elf_Ehdr &Ehdr = HeadersFile->getHeader(); in build() local1935 Obj.Is64Bits = Ehdr.e_ident[EI_CLASS] == ELFCLASS64; in build()1936 Obj.OSABI = Ehdr.e_ident[EI_OSABI]; in build()1937 Obj.ABIVersion = Ehdr.e_ident[EI_ABIVERSION]; in build()1938 Obj.Type = Ehdr.e_type; in build()1939 Obj.Machine = Ehdr.e_machine; in build()1940 Obj.Version = Ehdr.e_version; in build()[all …]
329 using Elf_Ehdr = typename ELFT::Ehdr;
191 extern const ElfW(Ehdr) __ehdr_start __attribute__((visibility("hidden"))); in __llvm_write_binary_ids()194 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;
197 auto vdso_ehdr = reinterpret_cast<ElfW(Ehdr) *>(vdso_ehdr_addr); in initialize_vdso_global_cache()
27 typedef ElfW(Ehdr) Elf_Ehdr;
1474 uint64_t off = sizeof(typename ELFT::Ehdr); in writeARMCmseImportLib()1505 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeARMCmseImportLib()1517 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeARMCmseImportLib()
60 using Ehdr = Elf_Ehdr_Impl<ELFType<E, Is64>>; member116 using Elf_Ehdr = typename ELFT::Ehdr; \
344 extern ElfW(Ehdr) __ehdr_start; in __hwasan_init_static()
369 auto *ehdr = reinterpret_cast<const ElfW(Ehdr) *>(info.dli_fbase); in GetGlobalSizeFromDescriptor()
4466 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeEhdr()4476 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeEhdr()4481 eHdr->e_phoff = sizeof(typename ELFT::Ehdr); in writeEhdr()4508 return sizeof(typename ELFT::Ehdr); in getSize()4516 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeTo()
2035 ctx.out.elfHeader->size = sizeof(typename ELFT::Ehdr); in finalizeSections()
3560 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeadersNumString()3580 const typename ELFT::Ehdr &ElfHeader = Obj.getHeader(); in getSectionHeaderTableIndexString()3923 const typename ELFT::Ehdr &EHeader, in printRelocHeaderFields()3950 const typename ELFT::Ehdr &EHeader) { in isRelocationSec()
1373 typedef ElfW(Ehdr) Elf_Ehdr; in ForEachMappedRegion()