Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c48 cleanup(Elf *ielf, Elf *oelf, Elf *melf, Cache *icache, Cache *mcache, in cleanup() argument
63 if (ielf) in cleanup()
64 (void) elf_end(ielf); in cleanup()
147 Elf * ielf = 0, *oelf = 0, *melf = 0; in rt_dldump() local
235 if ((ielf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) { in rt_dldump()
237 cleanup(ielf, oelf, melf, icache, mcache, fd, 0); in rt_dldump()
242 if ((elf_kind(ielf) != ELF_K_ELF) || in rt_dldump()
243 ((iehdr = elf_getehdr(ielf)) == NULL) || in rt_dldump()
246 cleanup(ielf, oelf, melf, icache, mcache, 0, 0); in rt_dldump()
257 cleanup(ielf, oelf, melf, icache, mcache, 0, 0); in rt_dldump()
[all …]
/titanic_50/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c382 Elf *ielf, *oelf; in ctf_elffdwrite() local
385 if ((ielf = elf_begin(ifd, ELF_C_READ, NULL)) == NULL) in ctf_elffdwrite()
391 ret = ctf_write_elf(fp, ielf, oelf, flags); in ctf_elffdwrite()
393 (void) elf_end(ielf); in ctf_elffdwrite()