Lines Matching refs:nsym_dyn
90 size_t nsym_dyn,
3890 create_gnu_hash (size_t nsym_local, size_t nsym, size_t nsym_dyn, in create_gnu_hash() argument
3902 optimal_gnu_hash_size (gnuhashcodes, nsym_dyn, ld_state.optlevel, in create_gnu_hash()
3919 + (4 + gnu_nbuckets + nsym_dyn) * sizeof (Elf32_Word)); in create_gnu_hash()
3934 void *endp = &gnu_chain[nsym_dyn]; in create_gnu_hash()
3939 size_t *remap = xmalloc (nsym_dyn * sizeof (size_t)); in create_gnu_hash()
3947 assert (ndxtosym[cnt]->outdynsymidx < nsym_dyn); in create_gnu_hash()
3953 assert (nsym_dyn_cnt == nsym_dyn); in create_gnu_hash()
3958 qsort (remap + 1, nsym_dyn - 1, sizeof (size_t), sortfct_hashval); in create_gnu_hash()
3966 for (size_t cnt = 1; cnt < nsym_dyn; ++cnt) in create_gnu_hash()
4013 assert (cnt - first_defined < nsym_dyn); in create_gnu_hash()
4023 assert (nsym_dyn > first_defined); in create_gnu_hash()
4024 assert (nsym_dyn - first_defined - 1 < nsym_dyn); in create_gnu_hash()
4025 gnu_chain[nsym_dyn - first_defined - 1] |= 1; in create_gnu_hash()
4040 create_hash (size_t nsym_local, size_t nsym, size_t nsym_dyn, in create_hash() argument
4055 nbucket = optimal_bucket_size (hashcodes, nsym_dyn, ld_state.optlevel); in create_hash()
4068 hashdata->d_size = (2 + nsym_dyn + nbucket) * sizeof (Elf32_Word); in create_hash()
4075 ((Elf32_Word *) hashdata->d_buf)[1] = nsym_dyn; in create_hash()
4317 size_t nsym_dyn = 0; in ld_generic_create_outfile() local
5772 nsym_dyn = 1; in ld_generic_create_outfile()
5773 for (cnt = nsym_local; cnt < nsym; ++cnt, ++nsym_dyn) in ld_generic_create_outfile()
5792 nsym_dyn = nsym - nsym_local + 1; in ld_generic_create_outfile()
5831 nsym_dyn = 1; in ld_generic_create_outfile()
5866 ndxtosym[cnt]->outdynsymidx = nsym_dyn; in ld_generic_create_outfile()
5872 hashcodes[nsym_dyn] = elf_hash (str); in ld_generic_create_outfile()
5874 gnuhashcodes[nsym_dyn] = elf_gnu_hash (str); in ld_generic_create_outfile()
5875 ++nsym_dyn; in ld_generic_create_outfile()
5887 create_gnu_hash (nsym_local, nsym, nsym_dyn, gnuhashcodes); in ld_generic_create_outfile()
5893 create_hash (nsym_local, nsym, nsym_dyn, hashcodes); in ld_generic_create_outfile()
5919 (void) gelf_update_versym (versymdata, nsym_dyn, &global); in ld_generic_create_outfile()
5929 nsym_dyn); in ld_generic_create_outfile()
6025 dynsymdata->d_size = xelf_fsize (ld_state.outelf, ELF_T_SYM, nsym_dyn); in ld_generic_create_outfile()
6028 nsym_dyn); in ld_generic_create_outfile()
6044 ld_state.ndynsym = nsym_dyn; in ld_generic_create_outfile()
6527 for (cnt = 1; cnt < nsym_dyn; ++cnt) in ld_generic_create_outfile()
7092 ld_generic_finalize_plt (struct ld_state *statep, size_t nsym, size_t nsym_dyn, in ld_generic_finalize_plt() argument