Home
last modified time | relevance | path

Searched refs:newehdr (Results 1 – 4 of 4) sorted by relevance

/external/elfutils/tests/
Delfstrmerge.c382 GElf_Ehdr newehdr; in main() local
383 if (gelf_getehdr (elfnew, &newehdr) == NULL) in main()
386 newehdr.e_ident[EI_DATA] = ehdr.e_ident[EI_DATA]; in main()
387 newehdr.e_type = ehdr.e_type; in main()
388 newehdr.e_machine = ehdr.e_machine; in main()
389 newehdr.e_version = ehdr.e_version; in main()
390 newehdr.e_entry = ehdr.e_entry; in main()
391 newehdr.e_flags = ehdr.e_flags; in main()
396 newehdr.e_shstrndx = newstrtabndx; in main()
407 newehdr.e_shstrndx = SHN_XINDEX; in main()
[all …]
/external/elfutils/src/
Delfcompress.c575 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()
[all …]
Dstrip.c443 GElf_Ehdr *newehdr; in handle_elf() local
2033 newehdr = gelf_getehdr (newelf, &newehdr_mem); in handle_elf()
2034 if (newehdr == NULL) in handle_elf()
2037 memcpy (newehdr->e_ident, ehdr->e_ident, EI_NIDENT); in handle_elf()
2038 newehdr->e_type = ehdr->e_type; in handle_elf()
2039 newehdr->e_machine = ehdr->e_machine; in handle_elf()
2040 newehdr->e_version = ehdr->e_version; in handle_elf()
2041 newehdr->e_entry = ehdr->e_entry; in handle_elf()
2042 newehdr->e_flags = ehdr->e_flags; in handle_elf()
2043 newehdr->e_phoff = ehdr->e_phoff; in handle_elf()
[all …]
/external/elfutils/libelf/
Delf32_newehdr.c45 elfw2(LIBELFBITS,newehdr) (Elf *elf) in ElfW2()
91 INTDEF(elfw2(LIBELFBITS,newehdr))