Lines Matching refs:ehdr
184 static bool default_check_special_symbol (Elf *elf, GElf_Ehdr *ehdr,
299 assert (offsetof (Elf, state.elf32.ehdr)
300 == offsetof (Elf, state.elf64.ehdr));
311 result->machine = elf->state.elf32.ehdr->e_machine;
312 result->class = elf->state.elf32.ehdr->e_ident[EI_CLASS];
313 result->data = elf->state.elf32.ehdr->e_ident[EI_DATA];
400 GElf_Ehdr *ehdr;
403 ehdr = gelf_getehdr (elf, &ehdr_mem);
404 if (ehdr == NULL)
411 return openbackend (elf, NULL, ehdr->e_machine);
683 GElf_Ehdr *ehdr __attribute__ ((unused)),