Lines Matching full:newelf
37 static void update_relocations_section_symbol_references(Elf *newelf, Elf *elf,
42 static void update_relocations_section_offsets(Elf *newelf, Elf *elf, Ebl *ebl,
49 static void update_hash_table(Elf *newelf, Elf *elf,
78 Elf *newelf,
84 Elf *newelf,
94 Elf *newelf,
110 Elf *newelf, const char *newelf_name __attribute__((unused)),
197 FAILIF_LIBELF((shdr_info[shdridx].newscn = elf_newscn(newelf)) == NULL,
257 ASSERT(scn == elf_getscn(newelf, shdr_info[cnt].idx));
728 update_relocations_section_symbol_references(newelf, elf,
748 update_hash_table(newelf, /* new ELF */
915 newelf,
993 update_symbol_values(elf, ehdr, newelf, shdr_info, shdr_info_len,
1007 elf, ehdr, newelf,
1103 FAILIF_LIBELF(gelf_update_phdr (newelf, pi, &phdr_info[pi]) == 0,
1113 newelf,
1149 data = elf_getdata (elf_getscn (newelf, shdr_info[cnt].idx), NULL);
1151 update_relocations_section_offsets(newelf, elf, ebl,
1169 newehdr = gelf_getehdr (newelf, &newehdr_mem);
1210 FAILIF_LIBELF(gelf_update_ehdr(newelf, newehdr) == 0, gelf_update_ehdr);
1221 static void update_hash_table(Elf *newelf, Elf *elf,
1229 Elf_Scn *hashscn = elf_getscn (newelf, hash_scn_idx);
1236 Elf_Data *symd = elf_getdata (elf_getscn (newelf, symtab_info->idx), NULL);
1247 FAILIF_LIBELF(gelf_xlatetom (newelf, hashd, hashd,
1302 FAILIF_LIBELF(gelf_xlatetof (newelf, hashd, hashd,
1312 Elf *newelf, Elf *elf __attribute__((unused)),
1319 Elf_Data *d = elf_getdata (elf_getscn (newelf, relsect_info->idx), NULL);
1421 static void update_relocations_section_offsets(Elf *newelf __attribute((unused)), Elf *elf,
1608 elf_strptr(newelf,
1896 Elf *newelf __attribute__((unused)),
2185 Elf *newelf __attribute__((unused)),
2215 Elf_Scn *symstrscn = elf_getscn(newelf, shdr_info[i].shdr.sh_link);
2257 Elf_Scn *symstrscn = elf_getscn(newelf, shdr_info[i].shdr.sh_link);
2263 symname = elf_strptr(newelf,
2497 static void adjust_section_offset(Elf *newelf,
2501 Elf_Scn *scn = elf_getscn (newelf, shdr_info->idx);
2631 static GElf_Off move_sections(Elf *newelf,
2667 adjust_section_offset(newelf, shdr_info + start, delta);
2758 Elf *newelf,
2805 lastoffset = move_sections(newelf,