Searched refs:newelf (Results 1 - 2 of 2) sorted by relevance
/third_party/elfutils/src/ |
H A D | strip.c | 1107 Elf *newelf; in handle_elf() local 1109 newelf = elf_begin (fd, ELF_C_WRITE_MMAP, NULL); in handle_elf() 1111 newelf = elf_clone (elf, ELF_C_EMPTY); in handle_elf() 1113 if (unlikely (gelf_newehdr (newelf, gelf_getclass (elf)) == 0)) in handle_elf() 1123 if (unlikely (gelf_newphdr (newelf, phnum) == 0)) in handle_elf() 1135 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf() 1142 if (handle_debug_relocs (elf, ebl, newelf, ehdr, fname, shstrndx, in handle_elf() 1741 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf() 1786 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf() 1848 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf() [all...] |
H A D | ar.c | 1256 Elf *newelf; in do_oper_insert() local 1280 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert() 1294 found[cnt]->elf = newelf; in do_oper_insert() 1301 found[cnt]->mem = elf_rawfile (newelf, &found[cnt]->size); in do_oper_insert() 1303 || elf_cntl (newelf, ELF_C_FDDONE) != 0) in do_oper_insert()
|
Completed in 5 milliseconds