Lines Matching refs:newehdr
575 GElf_Ehdr newehdr; in process_file() local
576 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
582 newehdr.e_ident[EI_DATA] = ehdr.e_ident[EI_DATA]; in process_file()
583 newehdr.e_type = ehdr.e_type; in process_file()
584 newehdr.e_machine = ehdr.e_machine; in process_file()
585 newehdr.e_version = ehdr.e_version; in process_file()
586 newehdr.e_entry = ehdr.e_entry; in process_file()
587 newehdr.e_flags = ehdr.e_flags; in process_file()
589 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in process_file()
1056 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
1064 if (setshdrstrndx (elfnew, &newehdr, shdrstrndx) != 0) in process_file()
1203 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
1211 newehdr.e_shoff = ((last_offset + offsize - 1) in process_file()
1216 newehdr.e_phoff = ehdr.e_phoff; in process_file()
1218 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in process_file()