Searched refs:newelf (Results 1 – 2 of 2) sorted by relevance
/external/elfutils/src/src/ |
D | strip.c | 513 Elf *newelf; in handle_elf() local 515 newelf = elf_begin (fd, ELF_C_WRITE_MMAP, NULL); in handle_elf() 517 newelf = elf_clone (elf, ELF_C_EMPTY); in handle_elf() 519 if (unlikely (gelf_newehdr (newelf, gelf_getclass (elf)) == 0) in handle_elf() 521 && unlikely (gelf_newphdr (newelf, phnum) == 0))) in handle_elf() 535 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf() 1022 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf() 1059 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf() 1116 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf() 1142 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf() [all …]
|
D | ar.c | 1259 Elf *newelf; in do_oper_insert() local 1283 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert() 1297 found[cnt]->elf = newelf; in do_oper_insert() 1304 found[cnt]->mem = elf_rawfile (newelf, &found[cnt]->size); in do_oper_insert() 1306 || elf_cntl (newelf, ELF_C_FDDONE) != 0) in do_oper_insert()
|