Lines Matching refs:eHdr
4365 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeEhdr() local
4366 eHdr->e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in writeEhdr()
4367 eHdr->e_ident[EI_DATA] = in writeEhdr()
4369 eHdr->e_ident[EI_VERSION] = EV_CURRENT; in writeEhdr()
4370 eHdr->e_ident[EI_OSABI] = config->osabi; in writeEhdr()
4371 eHdr->e_ident[EI_ABIVERSION] = getAbiVersion(); in writeEhdr()
4372 eHdr->e_machine = config->emachine; in writeEhdr()
4373 eHdr->e_version = EV_CURRENT; in writeEhdr()
4374 eHdr->e_flags = config->eflags; in writeEhdr()
4375 eHdr->e_ehsize = sizeof(typename ELFT::Ehdr); in writeEhdr()
4376 eHdr->e_phnum = part.phdrs.size(); in writeEhdr()
4377 eHdr->e_shentsize = sizeof(typename ELFT::Shdr); in writeEhdr()
4380 eHdr->e_phoff = sizeof(typename ELFT::Ehdr); in writeEhdr()
4381 eHdr->e_phentsize = sizeof(typename ELFT::Phdr); in writeEhdr()
4415 auto *eHdr = reinterpret_cast<typename ELFT::Ehdr *>(buf); in writeTo() local
4416 eHdr->e_type = ET_DYN; in writeTo()