Home
last modified time | relevance | path

Searched refs:elfnew (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/tests/
Delfstrmerge.c44 static Elf *elfnew = NULL; variable
81 elf_end (elfnew); in release()
376 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in main()
377 if (elfnew == NULL) in main()
381 if (gelf_newehdr (elfnew, gelf_getclass (elf)) == 0) in main()
384 if (gelf_getehdr (elfnew, &newehdr) == NULL) in main()
400 Elf_Scn *zscn = elf_getscn (elfnew, 0); in main()
411 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in main()
417 if (gelf_newphdr (elfnew, phnum) == 0) in main()
426 if (gelf_update_phdr (elfnew, cnt, phdr) == 0) in main()
[all …]
/external/elfutils/src/
Delfcompress.c258 Elf *elfnew = NULL; in process_file() local
303 elf_end (elfnew); in process_file()
596 elfnew = elf_begin (fdnew, ELF_C_WRITE, NULL); in process_file()
597 if (elfnew == NULL) in process_file()
605 if (gelf_newehdr (elfnew, gelf_getclass (elf)) == 0) in process_file()
612 if (gelf_getehdr (elfnew, &newehdr) == NULL) in process_file()
625 if (gelf_update_ehdr (elfnew, &newehdr) == 0) in process_file()
634 if (gelf_newphdr (elfnew, phnum) == 0) in process_file()
649 if (gelf_update_phdr (elfnew, cnt, phdr) == 0) in process_file()
846 Elf_Scn *newscn = elf_newscn (elfnew); in process_file()
[all …]