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()556 if (changing && sehdr.e_phnum != 0) { in write_file()600 if (srcidx == sehdr.e_shstrndx) { in write_file()612 if (sehdr.e_phnum != 0) in write_file()672 if (changing && sehdr.e_phnum != 0) { in write_file()[all …]