Lines Matching refs:nsym
506 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; in adjust_relocs() local
521 const size_t nent = 2 + nbucket + nsym; \ in adjust_relocs()
527 new_hash[1] = nsym; \ in adjust_relocs()
635 const size_t nsym = shdr->sh_size / shdr->sh_entsize; in add_new_section_symbols() local
636 size_t symndx_map[nsym - 1]; in add_new_section_symbols()
685 for (size_t i = old_shnum; i < nsym; ++i) in add_new_section_symbols()
700 adjust_all_relocs (elf, symscn, shdr, symndx_map, nsym - 1); in add_new_section_symbols()
1844 size_t nsym = 0; in copy_elided_sections() local
1870 *s->map = ++nsym; in copy_elided_sections()
1876 if (nsym < total_syms) in copy_elided_sections()
1878 assert (symbols[nsym].name == NULL); in copy_elided_sections()
1883 for (size_t i = 0; i < nsym; ++i) in copy_elided_sections()
1893 for (size_t i = nsym; i < total_syms; ++i) in copy_elided_sections()
1958 shdr->sh_size = symdata->d_size = (1 + nsym) * shdr->sh_entsize; in copy_elided_sections()
1968 for (size_t i = 0; i < nsym; ++i) in copy_elided_sections()