Lines Matching refs:unstripped_shnum
1298 new_shstrtab (Elf *unstripped, size_t unstripped_shnum, in new_shstrtab() argument
1306 Dwelf_Strent *unstripped_strent[unstripped_shnum - 1]; in new_shstrtab()
1323 for (size_t i = 0; i < unstripped_shnum - 1; ++i) in new_shstrtab()
1346 for (size_t i = 0; i < unstripped_shnum - 1; ++i) in new_shstrtab()
1375 size_t unstripped_shnum; in copy_elided_sections() local
1376 ELF_CHECK (elf_getshdrnum (unstripped, &unstripped_shnum) == 0, in copy_elided_sections()
1383 if (unlikely (stripped_shnum > unstripped_shnum)) in copy_elided_sections()
1611 Elf_Data *strtab_data = new_shstrtab (unstripped, unstripped_shnum, in copy_elided_sections()
1617 ELF_CHECK (elf_getshdrnum (unstripped, &unstripped_shnum) == 0, in copy_elided_sections()
1620 bool placed[unstripped_shnum - 1]; in copy_elided_sections()
1866 Dwelf_Strent *unstripped_strent[unstripped_shnum - 1]; in copy_elided_sections()
1869 for (size_t i = 0; i < unstripped_shnum - 1; ++i) in copy_elided_sections()
1896 for (size_t i = 0; i < unstripped_shnum - 1; ++i) in copy_elided_sections()
1964 else if (stripped_symtab != NULL && stripped_shnum != unstripped_shnum) in copy_elided_sections()
1968 unstripped_shnum, unstripped_shstrndx, in copy_elided_sections()
1977 unstripped_shnum, in copy_elided_sections()
1997 for (size_t i = 0; i < unstripped_shnum - 1; ++i) in copy_elided_sections()
2038 ehdr->e_shnum = unstripped_shnum; in copy_elided_sections()
2040 offset += unstripped_shnum * ehdr->e_shentsize; in copy_elided_sections()