Searched refs:elfnew (Results 1 – 2 of 2) sorted by relevance
/external/elfutils/tests/ |
D | elfstrmerge.c | 43 static Elf *elfnew = NULL; variable 80 elf_end (elfnew); in release() 375 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in main() 376 if (elfnew == NULL) in main() 380 if (gelf_newehdr (elfnew, gelf_getclass (elf)) == 0) in main() 383 if (gelf_getehdr (elfnew, &newehdr) == NULL) in main() 399 Elf_Scn *zscn = elf_getscn (elfnew, 0); in main() 410 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in main() 416 if (gelf_newphdr (elfnew, phnum) == 0) in main() 425 if (gelf_update_phdr (elfnew, cnt, phdr) == 0) in main() [all …]
|
/external/elfutils/src/ |
D | elfcompress.c | 261 Elf *elfnew = NULL; in process_file() local 297 elf_end (elfnew); in process_file() 560 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in process_file() 561 if (elfnew == NULL) in process_file() 569 if (gelf_newehdr (elfnew, gelf_getclass (elf)) == 0) in process_file() 576 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file() 589 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in process_file() 598 if (gelf_newphdr (elfnew, phnum) == 0) in process_file() 613 if (gelf_update_phdr (elfnew, cnt, phdr) == 0) in process_file() 810 Elf_Scn *newscn = elf_newscn (elfnew); in process_file() [all …]
|