Home | History | Annotate | Download | only in src

Lines Matching refs:nsym

97 static void ld_generic_finalize_plt (struct ld_state *statep, size_t nsym,
3701 fillin_special_symbol (struct symbol *symst, size_t scnidx, size_t nsym,
3707 xelf_getsym_ptr (symdata, nsym, sym);
3740 (void) xelf_update_sym (symdata, nsym, sym);
3743 ndxtosym[nsym] = symst;
3744 symst->outsymidx = nsym;
3747 symstrent[nsym] = ebl_strtabadd (strtab, symst->name, 0);
3900 create_gnu_hash (size_t nsym_local, size_t nsym, size_t nsym_dyn,
3953 for (size_t cnt = nsym_local; cnt < nsym; ++cnt)
4050 create_hash (size_t nsym_local, size_t nsym, size_t nsym_dyn,
4089 for (size_t cnt = nsym_local; cnt < nsym; ++cnt)
4324 size_t nsym;
4434 nsym = 1;
4711 xelf_getsym_ptr (symdata, nsym, sym);
4738 assert (nsym < nsym_allocated);
4739 xelf_update_symshndx (symdata, xndxdata, nsym, sym, xndx, 0);
4742 head->scnsymidx = nsym++;
5170 assert (nsym < nsym_allocated);
5173 nsym++, symdata, strtab);
5179 assert (nsym < nsym_allocated);
5181 nsym++, symdata, strtab);
5191 assert (nsym < nsym_allocated);
5192 fillin_special_symbol (rsym, SHN_ABS, nsym++, symdata, strtab);
5361 symstrent[nsym] = ebl_strtabadd (strtab,
5379 assert (nsym < nsym_allocated);
5380 xelf_update_symshndx (symdata, xndxdata, nsym, sym, xndx, 1);
5415 ndxtosym[nsym] = defp;
5421 file->symref[cnt]->outsymidx = nsym;
5423 file->symindirect[cnt] = nsym++;
5462 for (cnt = 1; cnt < nsym; ++cnt)
5498 for (cnt = 1; cnt < nsym; ++cnt)
5514 size_t plt_base = nsym + ld_state.nfrom_dso - ld_state.nplt;
5532 idx = nsym + obj_idx++;
5582 assert (nsym + obj_idx == plt_base);
5584 nsym = plt_base + plt_idx;
5589 symdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_SYM, nsym);
5591 xndxdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_WORD, nsym);
5616 for (cnt = 1; cnt < nsym; ++cnt)
5636 = (Elf32_Word *) xmalloc (nsym * sizeof (Elf32_Word));
5643 cnt = nsym - 1;
5717 if (likely (nsym_local < nsym))
5749 nsym - nsym_local + 1);
5783 for (cnt = nsym_local; cnt < nsym; ++cnt, ++nsym_dyn)
5802 nsym_dyn = nsym - nsym_local + 1;
5822 nsym_dyn_allocated = nsym - nsym_local + 1;
5844 for (cnt = nsym_local; cnt < nsym; ++cnt)
5898 create_gnu_hash (nsym_local, nsym, nsym_dyn, gnuhashcodes);
5904 create_hash (nsym_local, nsym, nsym_dyn, hashcodes);
5909 for (cnt = nsym_local; cnt < nsym; ++cnt)
5955 for (cnt = nsym_local; cnt < nsym; ++cnt)
6513 for (cnt = 1; cnt < nsym; ++cnt)
6950 FINALIZE_PLT (statep, nsym, nsym_local, ndxtosym);
7103 ld_generic_finalize_plt (struct ld_state *statep, size_t nsym, size_t nsym_dyn,