Searched refs:ef_hdr (Results 1 – 5 of 5) sorted by relevance
98 GElf_Ehdr ef_hdr; member103 #define elf_machine(ef) ((ef)->ef_hdr.e_machine)104 #define elf_class(ef) ((ef)->ef_hdr.e_ident[EI_CLASS])105 #define elf_encoding(ef) ((ef)->ef_hdr.e_ident[EI_DATA])
94 if (gelf_getehdr(efile->ef_elf, &efile->ef_hdr) == NULL) { in elf_open_file()101 efile->ef_reloc = elf_find_reloc(&efile->ef_hdr); in elf_open_file()145 if (efile->ef_hdr.e_ident[EI_CLASS] != hdr->e_ident[EI_CLASS] || in elf_compatible()146 efile->ef_hdr.e_ident[EI_DATA] != hdr->e_ident[EI_DATA] || in elf_compatible()147 efile->ef_hdr.e_machine != hdr->e_machine) in elf_compatible()155 return (gelf_fsize(efile->ef_elf, type, 1, efile->ef_hdr.e_version)); in elf_object_size()242 src.d_version = efile->ef_hdr.e_version; in elf_read_data()
275 hdr = &efile->ef_hdr; in ef_obj_open()
573 hdr = &efile->ef_hdr; in ef_open()
648 ehdr = ef.ef_hdr; in read_kld()