Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c48 cleanup(Elf *ielf, Elf *oelf, Elf *melf, Cache *icache, Cache *mcache, in cleanup() argument
65 if (oelf) in cleanup()
66 (void) elf_end(oelf); in cleanup()
147 Elf * ielf = 0, *oelf = 0, *melf = 0; in rt_dldump() local
237 cleanup(ielf, oelf, melf, icache, mcache, fd, 0); 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()
260 if ((oelf = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) { in rt_dldump()
262 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
273 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
[all …]
/titanic_44/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c219 Elf *melf, *oelf; in output() local
256 if ((oelf = elf_begin(fd, ELF_C_WRITE, 0)) == NULL) { in output()
265 if ((ehdr = elf_newehdr(oelf)) == NULL) { in output()
292 if ((scn = elf_newscn(oelf)) == NULL) { in output()
359 if ((elf_update(oelf, ELF_C_WRIMAGE)) == -1) { in output()
368 if ((melf = elf_begin(0, ELF_C_IMAGE, oelf)) == NULL) { in output()
572 if ((elf_update(oelf, ELF_C_WRITE)) == -1) { in output()
577 (void) elf_end(oelf); in output()
/titanic_44/usr/src/cmd/sgs/libld/common/
H A Dsupport.c170 int flags, Elf **oelf, Elf *ref, size_t off, const Elf_Kind ekind) in ld_sup_open() argument
178 Elf *nelf = *oelf; in ld_sup_open()
217 if ((npath != *opath) || (nfd != *ofd) || (nelf != *oelf)) { in ld_sup_open()
219 *opath, npath, *ofd, nfd, *oelf, nelf)); in ld_sup_open()
225 *oelf = nelf; in ld_sup_open()
/titanic_44/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c730 const char *nname, int ofd, int nfd, Elf *oelf, Elf *nelf) in Dbg_file_modified() argument
751 if (nelf != oelf) { in Dbg_file_modified()
756 dbg_print(lml, MSG_INTL(MSG_FIL_ELFCHANGE), EC_NATPTR(oelf), in Dbg_file_modified()