Searched refs:dst_elf (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 680 Elf *dst_elf = 0; in build_file() local 712 if ((dst_elf = elf_begin(fdtmp, ELF_C_WRITE, (Elf *) 0)) == NULL) { in build_file() 719 if (gelf_newehdr(dst_elf, gelf_getclass(src_elf)) == NULL) { in build_file() 725 (void) gelf_getehdr(dst_elf, &dst_ehdr); in build_file() 740 (void) gelf_update_ehdr(dst_elf, &dst_ehdr); in build_file() 744 (void) elf_flagelf(dst_elf, ELF_C_SET, ELF_F_LAYOUT); in build_file() 746 if (gelf_newphdr(dst_elf, src_ehdr->e_phnum) == NULL) { in build_file() 759 (void) gelf_getphdr(dst_elf, (int)x, &dst); in build_file() 762 (void) gelf_update_phdr(dst_elf, (int)x, &dst); in build_file() 776 if ((dst_scn = elf_newscn(dst_elf)) == NULL) { in build_file() [all …]
|