Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddldump.c65 if (oelf) in cleanup()
66 (void) elf_end(oelf); in cleanup()
147 Elf * ielf = 0, *oelf = 0, *melf = 0; in rt_dldump() local
385 cleanup(ielf, oelf, melf, icache, mcache, in rt_dldump()
470 cleanup(ielf, oelf, melf, icache, mcache, in rt_dldump()
534 if ((oehdr = elf_newehdr(oelf)) == NULL) { in rt_dldump()
592 if ((scn = elf_newscn(oelf)) == NULL) { in rt_dldump()
652 cleanup(ielf, oelf, melf, icache, in rt_dldump()
712 cleanup(ielf, oelf, melf, in rt_dldump()
747 if (elf_update(oelf, ELF_C_WRIMAGE) == -1) { in rt_dldump()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Delfwrap.c218 Elf *melf, *oelf; in output() local
255 if ((oelf = elf_begin(fd, ELF_C_WRITE, 0)) == NULL) { in output()
264 if ((ehdr = elf_newehdr(oelf)) == NULL) { in output()
291 if ((scn = elf_newscn(oelf)) == NULL) { in output()
358 if ((elf_update(oelf, ELF_C_WRIMAGE)) == -1) { in output()
367 if ((melf = elf_begin(0, ELF_C_IMAGE, oelf)) == NULL) { in output()
571 if ((elf_update(oelf, ELF_C_WRITE)) == -1) { in output()
576 (void) elf_end(oelf); in output()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsupport.c169 int flags, Elf **oelf, Elf *ref, size_t off, const Elf_Kind ekind) in ld_sup_open() argument
177 Elf *nelf = *oelf; in ld_sup_open()
216 if ((npath != *opath) || (nfd != *ofd) || (nelf != *oelf)) { in ld_sup_open()
218 *opath, npath, *ofd, nfd, *oelf, nelf)); in ld_sup_open()
224 *oelf = nelf; in ld_sup_open()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_elfwrite.c382 Elf *ielf, *oelf; in ctf_elffdwrite() local
388 if ((oelf = elf_begin(ofd, ELF_C_WRITE, NULL)) == NULL) in ctf_elffdwrite()
391 ret = ctf_write_elf(fp, ielf, oelf, flags); in ctf_elffdwrite()
394 (void) elf_end(oelf); in ctf_elffdwrite()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c723 const char *nname, int ofd, int nfd, Elf *oelf, Elf *nelf) in Dbg_file_modified() argument
744 if (nelf != oelf) { in Dbg_file_modified()
749 dbg_print(lml, MSG_INTL(MSG_FIL_ELFCHANGE), EC_NATPTR(oelf), in Dbg_file_modified()