Lines Matching refs:newehdr
611 GElf_Ehdr newehdr; in process_file() local
612 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
618 newehdr.e_ident[EI_DATA] = ehdr.e_ident[EI_DATA]; in process_file()
619 newehdr.e_type = ehdr.e_type; in process_file()
620 newehdr.e_machine = ehdr.e_machine; in process_file()
621 newehdr.e_version = ehdr.e_version; in process_file()
622 newehdr.e_entry = ehdr.e_entry; in process_file()
623 newehdr.e_flags = ehdr.e_flags; in process_file()
625 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in process_file()
1096 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
1104 if (setshdrstrndx (elfnew, &newehdr, shdrstrndx) != 0) in process_file()
1243 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
1251 newehdr.e_shoff = ((last_offset + offsize - 1) in process_file()
1256 newehdr.e_phoff = ehdr.e_phoff; in process_file()
1258 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in process_file()