Lines Matching defs:oelf

49 cleanup(Elf *ielf, Elf *oelf, Elf *melf, Cache *icache, Cache *mcache,
66 if (oelf)
67 (void) elf_end(oelf);
148 Elf * ielf = 0, *oelf = 0, *melf = 0;
238 cleanup(ielf, oelf, melf, icache, mcache, fd, 0);
247 cleanup(ielf, oelf, melf, icache, mcache, 0, 0);
258 cleanup(ielf, oelf, melf, icache, mcache, 0, 0);
261 if ((oelf = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) {
263 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
274 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);
334 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
351 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
357 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
372 cleanup(ielf, oelf, melf, icache, mcache,
457 cleanup(ielf, oelf, melf, icache, mcache,
521 if ((oehdr = elf_newehdr(oelf)) == NULL) {
523 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
538 if ((ophdr = elf_newphdr(oelf, iehdr->e_phnum)) == NULL) {
540 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
559 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
579 if ((scn = elf_newscn(oelf)) == NULL) {
581 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
586 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
606 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
679 cleanup(ielf, oelf, melf,
714 if (elf_update(oelf, ELF_C_WRIMAGE) == -1) {
716 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
719 if ((melf = elf_begin(0, ELF_C_IMAGE, oelf)) == NULL) {
721 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
726 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
734 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
744 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
750 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
828 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
836 if (elf_update(oelf, ELF_C_WRITE) == -1) {
838 cleanup(ielf, oelf, melf, icache, mcache, fd, opath);
842 cleanup(ielf, oelf, melf, icache, mcache, fd, 0);