Lines Matching defs:e32
1045 Elf32_Ehdr e32;
1053 if (pread64(efp->e_fd, &e32, sizeof (e32), 0) != sizeof (e32)) {
1058 if ((is_noelf = memcmp(&e32.e_ident[EI_MAG0], ELFMAG, SELFMAG)) != 0 ||
1059 e32.e_type != type || (isa_err = (e32.e_ident[EI_DATA] != order)) ||
1060 e32.e_version != EV_CURRENT) {
1075 * 32-bit, so convert e32 to a elf_file_header_t.
1077 if (e32.e_ident[EI_CLASS] == ELFCLASS64) {
1107 (void) memcpy(efp->e_hdr.e_ident, e32.e_ident, EI_NIDENT);
1108 efp->e_hdr.e_type = e32.e_type;
1109 efp->e_hdr.e_machine = e32.e_machine;
1110 efp->e_hdr.e_version = e32.e_version;
1111 efp->e_hdr.e_entry = (Elf64_Addr)e32.e_entry;
1112 efp->e_hdr.e_phoff = (Elf64_Off)e32.e_phoff;
1113 efp->e_hdr.e_shoff = (Elf64_Off)e32.e_shoff;
1114 efp->e_hdr.e_flags = e32.e_flags;
1115 efp->e_hdr.e_ehsize = e32.e_ehsize;
1116 efp->e_hdr.e_phentsize = e32.e_phentsize;
1117 efp->e_hdr.e_phnum = (Elf64_Word)e32.e_phnum;
1118 efp->e_hdr.e_shentsize = e32.e_shentsize;
1119 efp->e_hdr.e_shnum = (Elf64_Word)e32.e_shnum;
1120 efp->e_hdr.e_shstrndx = (Elf64_Word)e32.e_shstrndx;