Lines Matching refs:newshdr
406 update_shdr (Elf_Scn *outscn, GElf_Shdr *newshdr) in update_shdr() argument
408 ELF_CHECK (gelf_update_shdr (outscn, newshdr), in update_shdr()
417 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in update_sh_size() local
418 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in update_sh_size()
420 newshdr->sh_size = data->d_size; in update_sh_size()
422 update_shdr (outscn, newshdr); in update_sh_size()
466 GElf_Shdr *newshdr = gelf_getshdr (outscn, &shdr_mem); in adjust_relocs() local
467 ELF_CHECK (newshdr != NULL, _("cannot get section header: %s")); in adjust_relocs()
468 if (newshdr->sh_info != STN_UNDEF) in adjust_relocs()
470 newshdr->sh_info = map[newshdr->sh_info - 1]; in adjust_relocs()
471 update_shdr (outscn, newshdr); in adjust_relocs()