Lines Matching defs:e32
1020 Elf32_Ehdr e32;
1028 if (pread64(efp->e_fd, &e32, sizeof (e32), 0) != sizeof (e32)) {
1033 if ((is_noelf = memcmp(&e32.e_ident[EI_MAG0], ELFMAG, SELFMAG)) != 0 ||
1034 e32.e_type != type || (isa_err = (e32.e_ident[EI_DATA] != order)) ||
1035 e32.e_version != EV_CURRENT) {
1050 * 32-bit, so convert e32 to a elf_file_header_t.
1052 if (e32.e_ident[EI_CLASS] == ELFCLASS64) {
1082 (void) memcpy(efp->e_hdr.e_ident, e32.e_ident, EI_NIDENT);
1083 efp->e_hdr.e_type = e32.e_type;
1084 efp->e_hdr.e_machine = e32.e_machine;
1085 efp->e_hdr.e_version = e32.e_version;
1086 efp->e_hdr.e_entry = (Elf64_Addr)e32.e_entry;
1087 efp->e_hdr.e_phoff = (Elf64_Off)e32.e_phoff;
1088 efp->e_hdr.e_shoff = (Elf64_Off)e32.e_shoff;
1089 efp->e_hdr.e_flags = e32.e_flags;
1090 efp->e_hdr.e_ehsize = e32.e_ehsize;
1091 efp->e_hdr.e_phentsize = e32.e_phentsize;
1092 efp->e_hdr.e_phnum = (Elf64_Word)e32.e_phnum;
1093 efp->e_hdr.e_shentsize = e32.e_shentsize;
1094 efp->e_hdr.e_shnum = (Elf64_Word)e32.e_shnum;
1095 efp->e_hdr.e_shstrndx = (Elf64_Word)e32.e_shstrndx;