Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/sysdef/
H A Dsysdef.c142 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()
[all …]