Searched refs:sehdr (Results 1 – 1 of 1) sorted by relevance
466 GElf_Ehdr sehdr, dehdr; in write_file() local485 gelf_getehdr(src, &sehdr); in write_file()486 memcpy(&dehdr, &sehdr, sizeof (GElf_Ehdr)); in write_file()497 if (sehdr.e_phnum != 0) { in write_file()499 if (gelf_newphdr(dst, sehdr.e_phnum) == NULL) in write_file()502 for (i = 0; i < sehdr.e_phnum; i++) { in write_file()566 if (changing && sehdr.e_phnum != 0) { in write_file()610 if (srcidx == sehdr.e_shstrndx) { in write_file()622 if (sehdr.e_phnum != 0) in write_file()681 if (changing && sehdr.e_phnum != 0) { in write_file()[all …]