Home | History | Annotate | Download | only in src

Lines Matching refs:outelf

250 /* Copy INELF to newly-created OUTELF, exit via error for any problems.  */
252 copy_elf (Elf *outelf, Elf *inelf)
254 ELF_CHECK (gelf_newehdr (outelf, gelf_getclass (inelf)),
259 ELF_CHECK (gelf_update_ehdr (outelf, ehdr),
264 ELF_CHECK (gelf_newphdr (outelf, ehdr->e_phnum),
269 ELF_CHECK (gelf_update_phdr (outelf, i,
277 Elf_Scn *newscn = elf_newscn (outelf);
750 collect_symbols (Elf *outelf, bool rel, Elf_Scn *symscn, Elf_Scn *strscn,
789 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (outelf, s->shndx),
1903 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL);
1904 ELF_CHECK (outelf != NULL, _("cannot create ELF descriptor: %s"));
1909 copy_elf (outelf, stripped);
1911 elf_flagelf (outelf, ELF_C_SET, ELF_F_LAYOUT);
1912 ELF_CHECK (elf_update (outelf, ELF_C_WRITE) > 0,
1917 copy_elf (outelf, unstripped);
1918 copy_elided_sections (outelf, stripped, stripped_ehdr, bias);
1921 elf_end (outelf);