Lines Matching refs:newshdr
473 GElf_Shdr newshdr; in main() local
474 newshdr.sh_name = (shdr->sh_name != 0 in main()
476 newshdr.sh_type = shdr->sh_type; in main()
477 newshdr.sh_flags = shdr->sh_flags; in main()
478 newshdr.sh_addr = shdr->sh_addr; in main()
479 newshdr.sh_size = shdr->sh_size; in main()
481 newshdr.sh_link = newsecndx (shdr->sh_link, shdrstrndx, shdrnum, in main()
484 newshdr.sh_link = 0; in main()
486 newshdr.sh_info = newsecndx (shdr->sh_info, shdrstrndx, shdrnum, in main()
490 newshdr.sh_info = shdr->sh_info; in main()
491 newshdr.sh_entsize = shdr->sh_entsize; in main()
607 newshdr.sh_size = newdata->d_size; in main()
608 newshdr.sh_addralign = newdata->d_align; in main()
614 newshdr.sh_offset = shdr->sh_offset; in main()
618 size_t addralign = newshdr.sh_addralign ?: 1; in main()
620 newshdr.sh_offset = last_offset; in main()
621 if (newshdr.sh_type != SHT_NOBITS) in main()
622 last_offset += newshdr.sh_size; in main()
627 newshdr.sh_addralign = 0; in main()
628 newshdr.sh_size = 0; in main()
629 newshdr.sh_offset = 0; in main()
632 if (gelf_update_shdr (newscn, &newshdr) == 0) in main()