Lines Matching defs:nsym
68 static void ld_generic_finalize_plt (struct ld_state *statep, size_t nsym,
3471 fillin_special_symbol (struct symbol *symst, size_t scnidx, size_t nsym,
3477 xelf_getsym_ptr (symdata, nsym, sym);
3508 (void) xelf_update_sym (symdata, nsym, sym);
3511 ndxtosym[nsym] = symst;
3512 symst->outsymidx = nsym;
3515 symstrent[nsym] = ebl_strtabadd (strtab, symst->name, 0);
3667 size_t nsym;
3776 nsym = 1;
4024 xelf_getsym_ptr (symdata, nsym, sym);
4051 assert (nsym < nsym_allocated);
4052 xelf_update_symshndx (symdata, xndxdata, nsym, sym, xndx, 0);
4055 head->scnsymidx = nsym++;
4483 assert (nsym < nsym_allocated);
4485 nsym++, symdata, strtab);
4491 assert (nsym < nsym_allocated);
4493 nsym++, symdata, strtab);
4503 assert (nsym < nsym_allocated);
4504 fillin_special_symbol (rsym, SHN_ABS, nsym++, symdata, strtab);
4573 assert (nsym < nsym_allocated);
4574 xelf_getsym (symdata, nsym, sym);
4672 symstrent[nsym] = ebl_strtabadd (strtab,
4689 assert (nsym < nsym_allocated);
4690 xelf_update_symshndx (symdata, xndxdata, nsym, sym, xndx, 0);
4704 ndxtosym[nsym] = defp;
4710 file->symref[cnt]->outsymidx = nsym;
4712 file->symindirect[cnt] = nsym++;
4752 for (cnt = 1; cnt < nsym; ++cnt)
4784 for (cnt = 1; cnt < nsym; ++cnt)
4800 size_t plt_base = nsym + ld_state.nfrom_dso - ld_state.nplt;
4818 idx = nsym + obj_idx++;
4868 assert (nsym + obj_idx == plt_base);
4870 nsym = plt_base + plt_idx;
4875 symdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_SYM, nsym);
4877 xndxdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_WORD, nsym);
4902 for (cnt = 1; cnt < nsym; ++cnt)
4922 = (Elf32_Word *) xmalloc (nsym * sizeof (Elf32_Word));
4929 cnt = nsym - 1;
5003 if (likely (nsym_local < nsym))
5035 nsym - nsym_local + 1);
5069 for (cnt = nsym_local; cnt < nsym; ++cnt, ++nsym_dyn)
5088 nsym_dyn = nsym - nsym_local + 1;
5108 nsym_dyn_allocated = nsym - nsym_local + 1;
5130 for (cnt = nsym_local; cnt < nsym; ++cnt)
5267 for (cnt = nsym_local; cnt < nsym; ++cnt)
5785 for (cnt = 1; cnt < nsym; ++cnt)
6205 FINALIZE_PLT (statep, nsym, nsym_dyn);
6337 ld_generic_finalize_plt (struct ld_state *statep, size_t nsym, size_t nsym_dyn)