Searched refs:elfd (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c142 Elf *elfd = NULL; variable
287 if ((elfd = elf_begin(fileno(sysfile), ELF_C_READ,
294 if ((ehdr = elf_getehdr(elfd)) == NULL) {
300 if ((((elf_kind(elfd)) != ELF_K_ELF) &&
301 ((elf_kind(elfd)) != ELF_K_COFF)) ||
304 elf_end(elfd);
315 while ((scn = elf_nextscn(elfd, scn)) != NULL) {
322 name = elf_strptr(elfd, ehdr->e_shstrndx,
484 if (elfd)
485 elf_end(elfd);
[all...]

Completed in 57 milliseconds