Lines Matching refs:src_ehdr
673 build_file(Elf *src_elf, GElf_Ehdr *src_ehdr, Cmd_Info *cmd_info,
726 dst_ehdr = *src_ehdr;
743 if (src_ehdr->e_phnum != 0) {
746 if (gelf_newphdr(dst_elf, src_ehdr->e_phnum) == NULL) {
752 for (x = 0; x < src_ehdr->e_phnum; ++x) {
767 new_offset = (GElf_Off)src_ehdr->e_ehsize;
969 ((src_ehdr->e_phnum == 0) ||
997 if (src_ehdr->e_phnum != 0) {
1044 if (src_ehdr->e_phnum != NULL)
1167 if (src_ehdr->e_phnum != 0) {