Home
last modified time | relevance | path

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

/third_party/libunwind/src/coredump/
D_UCD_create.c53 #define elf_header32 elf_header.h32 in _UCD_create() macro
78 if (memcmp(&elf_header32, ELFMAG, SELFMAG) != 0) in _UCD_create()
84 if (elf_header32.e_ident[EI_CLASS] != ELFCLASS32 in _UCD_create()
85 && elf_header32.e_ident[EI_CLASS] != ELFCLASS64) in _UCD_create()
91 if (target_is_big_endian() && (elf_header32.e_ident[EI_DATA] == ELFDATA2LSB)) in _UCD_create()
97 _64bits = (elf_header32.e_ident[EI_CLASS] == ELFCLASS64); in _UCD_create()
109 : (elf_header32.e_ehsize != 52 || elf_header32.e_phentsize != 32) in _UCD_create()
116 off_t ofs = (_64bits ? elf_header64.e_phoff : elf_header32.e_phoff); in _UCD_create()
122 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()