Home
last modified time | relevance | path

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

/external/elfutils/tests/
Delfstrmerge.c383 GElf_Ehdr newehdr; in main() local
384 if (gelf_getehdr (elfnew, &newehdr) == NULL) in main()
387 newehdr.e_ident[EI_DATA] = ehdr.e_ident[EI_DATA]; in main()
388 newehdr.e_type = ehdr.e_type; in main()
389 newehdr.e_machine = ehdr.e_machine; in main()
390 newehdr.e_version = ehdr.e_version; in main()
391 newehdr.e_entry = ehdr.e_entry; in main()
392 newehdr.e_flags = ehdr.e_flags; in main()
397 newehdr.e_shstrndx = newstrtabndx; in main()
408 newehdr.e_shstrndx = SHN_XINDEX; in main()
[all …]
/external/elfutils/src/
Delfcompress.c611 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()
[all …]
Dstrip.c961 GElf_Ehdr *newehdr; in handle_elf() local
2505 newehdr = gelf_getehdr (newelf, &newehdr_mem); in handle_elf()
2506 if (newehdr == NULL) in handle_elf()
2509 memcpy (newehdr->e_ident, ehdr->e_ident, EI_NIDENT); in handle_elf()
2510 newehdr->e_type = ehdr->e_type; in handle_elf()
2511 newehdr->e_machine = ehdr->e_machine; in handle_elf()
2512 newehdr->e_version = ehdr->e_version; in handle_elf()
2513 newehdr->e_entry = ehdr->e_entry; in handle_elf()
2514 newehdr->e_flags = ehdr->e_flags; in handle_elf()
2515 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))