Lines Matching refs:elf
87 Elf *elf; in symtab_create() local
97 elf = elf_begin(fd, ELF_C_READ, NULL); in symtab_create()
98 if (elf == NULL) { in symtab_create()
105 elf_end(elf); in symtab_create()
108 if (gelf_getehdr(elf, &ehdr) == NULL) { in symtab_create()
110 elf_end(elf); in symtab_create()
116 while ((scn = elf_nextscn(elf, scn)) != NULL) { in symtab_create()
141 elf_strptr(elf, shdr.sh_link, sym.st_name), in symtab_create()
157 elf_strptr(elf, shdr.sh_link, sym.st_name)); in symtab_create()
169 elf_end(elf); in symtab_create()
174 elf_end(elf); in symtab_create()