Lines Matching defs:ehdr
879 class_type_char (Elf *elf, const GElf_Ehdr *ehdr, GElf_Sym *sym)
896 if (ehdr->e_ident[EI_OSABI] == ELFOSABI_LINUX
928 show_symbols_bsd (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx,
1019 class_type_char (elf, ehdr, &syms[cnt].sym), marker,
1037 class_type_char (elf, ehdr, &syms[cnt].sym), marker,
1060 show_symbols_posix (Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx,
1113 class_type_char (elf, ehdr, &syms[cnt].sym),
1226 show_symbols (int fd, Ebl *ebl, GElf_Ehdr *ehdr,
1269 if (ehdr->e_type != ET_REL)
1493 show_symbols_bsd (ebl->elf, ehdr, shdr->sh_link, prefix, fname, fullname,
1500 show_symbols_posix (ebl->elf, ehdr, shdr->sh_link, prefix, fullname,
1540 GElf_Ehdr *ehdr;
1556 ehdr = gelf_getehdr (elf, &ehdr_mem);
1557 if (ehdr == NULL)
1563 && ehdr->e_type != ET_EXEC && ehdr->e_type != ET_DYN)
1609 show_symbols (fd, ebl, ehdr, scn, xndxscn, shdr, prefix, fname,