Home
last modified time | relevance | path

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

/freebsd/usr.sbin/kldxref/
H A Def.h98 GElf_Ehdr ef_hdr; member
103 #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])
H A Delf.c94 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()
H A Def_obj.c275 hdr = &efile->ef_hdr; in ef_obj_open()
H A Def.c573 hdr = &efile->ef_hdr; in ef_open()
H A Dkldxref.c648 ehdr = ef.ef_hdr; in read_kld()