Lines Matching refs:elfd
142 Elf *elfd = NULL; variable
287 if ((elfd = elf_begin(fileno(sysfile), ELF_C_READ, in main()
294 if ((ehdr = elf_getehdr(elfd)) == NULL) { in main()
300 if ((((elf_kind(elfd)) != ELF_K_ELF) && in main()
301 ((elf_kind(elfd)) != ELF_K_COFF)) || in main()
304 elf_end(elfd); in main()
315 while ((scn = elf_nextscn(elfd, scn)) != NULL) { in main()
322 name = elf_strptr(elfd, ehdr->e_shstrndx, in main()
484 if (elfd) in main()
485 elf_end(elfd); in main()
749 if ((scn = elf_getscn(elfd, nl[sym].n_scnum)) == NULL) { in memseek()