Home
last modified time | relevance | path

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

/external/elfutils/src/
Dstrip.c1052 Elf *newelf; in handle_elf() local
1054 newelf = elf_begin (fd, ELF_C_WRITE_MMAP, NULL); in handle_elf()
1056 newelf = elf_clone (elf, ELF_C_EMPTY); in handle_elf()
1058 if (unlikely (gelf_newehdr (newelf, gelf_getclass (elf)) == 0)) in handle_elf()
1068 if (unlikely (gelf_newphdr (newelf, phnum) == 0)) in handle_elf()
1080 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0)) in handle_elf()
1087 if (handle_debug_relocs (elf, ebl, newelf, ehdr, fname, shstrndx, in handle_elf()
1683 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf()
1728 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf()
1791 shdr_info[cnt].newscn = elf_newscn (newelf); in handle_elf()
[all …]
Dar.c1253 Elf *newelf; in do_oper_insert() local
1277 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert()
1291 found[cnt]->elf = newelf; in do_oper_insert()
1298 found[cnt]->mem = elf_rawfile (newelf, &found[cnt]->size); in do_oper_insert()
1300 || elf_cntl (newelf, ELF_C_FDDONE) != 0) in do_oper_insert()