Home
last modified time | relevance | path

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

/external/elfutils/src/
Dstrip.c487 Elf *newelf; in handle_elf() local
489 newelf = elf_begin (fd, ELF_C_WRITE_MMAP, NULL); in handle_elf()
491 newelf = elf_clone (elf, ELF_C_EMPTY); in handle_elf()
493 if (unlikely (gelf_newehdr (newelf, gelf_getclass (elf)) == 0) in handle_elf()
495 && unlikely (gelf_newphdr (newelf, ehdr->e_phnum) == 0))) in handle_elf()
509 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf()
952 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf()
989 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf()
1045 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf()
1071 scn = elf_getscn (newelf, shdr_info[cnt].idx); in handle_elf()
[all …]
Dar.c1238 Elf *newelf; in do_oper_insert() local
1262 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert()
1276 found[cnt]->elf = newelf; in do_oper_insert()
1283 found[cnt]->mem = elf_rawfile (newelf, &found[cnt]->size); in do_oper_insert()
1284 if (found[cnt] == NULL || elf_cntl (newelf, ELF_C_FDDONE) != 0) in do_oper_insert()