Home
last modified time | relevance | path

Searched refs:elf_header32 (Results 1 – 1 of 1) sorted by relevance

/external/libunwind/src/coredump/
D_UCD_create.c83 #define elf_header32 elf_header.h32 in _UCD_create() macro
108 if (memcmp(&elf_header32, ELFMAG, SELFMAG) != 0) in _UCD_create()
114 if (elf_header32.e_ident[EI_CLASS] != ELFCLASS32 in _UCD_create()
115 && elf_header32.e_ident[EI_CLASS] != ELFCLASS64) in _UCD_create()
121 if (WE_ARE_LITTLE_ENDIAN != (elf_header32.e_ident[EI_DATA] == ELFDATA2LSB)) in _UCD_create()
127 _64bits = (elf_header32.e_ident[EI_CLASS] == ELFCLASS64); in _UCD_create()
139 : (elf_header32.e_ehsize != 52 || elf_header32.e_phentsize != 32) in _UCD_create()
146 off_t ofs = (_64bits ? elf_header64.e_phoff : elf_header32.e_phoff); in _UCD_create()
152 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()