Lines Matching defs:opath

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