Home | History | Annotate | Download | only in src

Lines Matching refs:newelf

487   Elf *newelf;
489 newelf = elf_begin (fd, ELF_C_WRITE_MMAP, NULL);
491 newelf = elf_clone (elf, ELF_C_EMPTY);
493 if (unlikely (gelf_newehdr (newelf, gelf_getclass (elf)) == 0)
495 && unlikely (gelf_newphdr (newelf, ehdr->e_phnum) == 0)))
509 || unlikely (gelf_update_phdr (newelf, cnt, phdr) == 0))
952 shdr_info[cnt].newscn = elf_newscn (newelf);
989 shdr_info[cnt].newscn = elf_newscn (newelf);
1045 shdr_info[cnt].newscn = elf_newscn (newelf);
1071 scn = elf_getscn (newelf, shdr_info[cnt].idx);
1343 : elf_getscn (newelf,
1397 scn = elf_getscn (newelf, shdr_info[cnt].idx);
1400 Elf_Data *symd = elf_getdata (elf_getscn (newelf,
1524 scn = elf_getscn (newelf, shdr_info[cnt].idx);
1527 symd = elf_getdata (elf_getscn (newelf, shdr_info[symtabidx].idx),
1549 verd->d_size = gelf_fsize (newelf, verd->d_type,
1563 scn = elf_getscn (newelf, shdr_info[cnt].idx);
1621 if (unlikely (gelf_xlatetof (newelf, &debuglink_crc_data,
1629 newehdr = gelf_getehdr (newelf, &newehdr_mem);
1664 if (gelf_update_ehdr (newelf, newehdr) == 0)
1681 elf_flagelf (newelf, ELF_C_SET,
1686 if (elf_update (newelf, ELF_C_WRITE) == -1)
1718 if (elf_end (newelf) != 0)