Lines Matching refs:opath

49     int fd, const char *opath)  in cleanup()  argument
71 if (opath) in cleanup()
72 (void) unlink(opath); in cleanup()
145 rt_dldump(Rt_map *lmp, const char *opath, int flags, Addr addr) in rt_dldump() argument
253 if ((fd = open(opath, (O_RDWR | O_CREAT | O_TRUNC), 0777)) == -1) { in rt_dldump()
255 eprintf(lml, ERR_FATAL, MSG_INTL(MSG_SYS_OPEN), opath, in rt_dldump()
261 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_BEGIN), opath); 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()
314 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
319 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
324 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
337 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETSHDRNUM), opath); in rt_dldump()
338 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
347 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
364 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
370 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
386 fd, opath); in rt_dldump()
471 fd, opath); in rt_dldump()
535 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_NEWEHDR), opath); in rt_dldump()
536 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
552 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_NEWPHDR), opath); in rt_dldump()
553 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
572 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
593 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_NEWSCN), opath); in rt_dldump()
594 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
598 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_NEWSHDR), opath); in rt_dldump()
599 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
618 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_NEWDATA), opath); in rt_dldump()
619 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
651 MSG_ORIG(MSG_ELF_GETSCN), opath); in rt_dldump()
653 mcache, fd, opath); in rt_dldump()
713 icache, mcache, fd, opath); in rt_dldump()
748 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_UPDATE), opath); in rt_dldump()
749 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
753 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_BEGIN), opath); in rt_dldump()
754 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
758 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETEHDR), opath); in rt_dldump()
759 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
764 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETSHDRNUM), opath); in rt_dldump()
765 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
773 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
782 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETSHDR), opath); in rt_dldump()
783 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
788 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_GETDATA), opath); in rt_dldump()
789 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
839 update_reloc(mcache, icache, _icache, opath, lmp, in rt_dldump()
865 opath, rel_null_no, rel_data_no, rel_func_no, rel_entsize, in rt_dldump()
867 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()
876 eprintf(lml, ERR_ELF, MSG_ORIG(MSG_ELF_UPDATE), opath); in rt_dldump()
877 cleanup(ielf, oelf, melf, icache, mcache, fd, opath); in rt_dldump()