Searched refs:sehdr (Results 1 – 1 of 1) sorted by relevance
458 GElf_Ehdr sehdr, dehdr; in write_file() local476 gelf_getehdr(src, &sehdr); in write_file()477 memcpy(&dehdr, &sehdr, sizeof (GElf_Ehdr)); in write_file()488 if (sehdr.e_phnum != 0) { in write_file()490 if (gelf_newphdr(dst, sehdr.e_phnum) == NULL) in write_file()493 for (i = 0; i < sehdr.e_phnum; i++) { in write_file()501 secxlate = xmalloc(sizeof (int) * sehdr.e_shnum); in write_file()502 for (srcidx = dstidx = 0; srcidx < sehdr.e_shnum; srcidx++) { in write_file()508 sname = elf_strptr(src, sehdr.e_shstrndx, shdr1.sh_name); in write_file()536 for (srcidx = 1; srcidx < sehdr.e_shnum; srcidx++) { in write_file()[all …]