Lines Matching refs:symcount

333 		      size_t symcount,  in bfd_elf_get_elf_syms()  argument
351 if (symcount == 0) in bfd_elf_get_elf_syms()
364 amt = symcount * extsym_size; in bfd_elf_get_elf_syms()
368 alloc_ext = bfd_malloc2 (symcount, extsym_size); in bfd_elf_get_elf_syms()
383 amt = symcount * sizeof (Elf_External_Sym_Shndx); in bfd_elf_get_elf_syms()
387 alloc_extshndx = bfd_malloc2 (symcount, in bfd_elf_get_elf_syms()
402 intsym_buf = bfd_malloc2 (symcount, sizeof (Elf_Internal_Sym)); in bfd_elf_get_elf_syms()
408 isymend = intsym_buf + symcount; in bfd_elf_get_elf_syms()
3395 unsigned int symcount = bfd_get_symcount (abfd); in elf_map_symbols() local
3427 for (idx = 0; idx < symcount; idx++) in elf_map_symbols()
3444 for (idx = 0; idx < symcount; idx++) in elf_map_symbols()
3475 for (idx = 0; idx < symcount; idx++) in elf_map_symbols()
6248 int symcount; in swap_out_syms() local
6269 symcount = bfd_get_symcount (abfd); in swap_out_syms()
6273 symtab_hdr->sh_size = symtab_hdr->sh_entsize * (symcount + 1); in swap_out_syms()
6280 outbound_syms = bfd_alloc2 (abfd, 1 + symcount, bed->s->sizeof_sym); in swap_out_syms()
6292 amt = (bfd_size_type) (1 + symcount) * sizeof (Elf_External_Sym_Shndx); in swap_out_syms()
6293 outbound_shndx = bfd_zalloc2 (abfd, 1 + symcount, in swap_out_syms()
6329 for (idx = 0; idx < symcount; idx++) in swap_out_syms()
6539 long symcount; in _bfd_elf_get_symtab_upper_bound() local
6543 symcount = hdr->sh_size / get_elf_backend_data (abfd)->s->sizeof_sym; in _bfd_elf_get_symtab_upper_bound()
6544 symtab_size = (symcount + 1) * (sizeof (asymbol *)); in _bfd_elf_get_symtab_upper_bound()
6545 if (symcount > 0) in _bfd_elf_get_symtab_upper_bound()
6554 long symcount; in _bfd_elf_get_dynamic_symtab_upper_bound() local
6564 symcount = hdr->sh_size / get_elf_backend_data (abfd)->s->sizeof_sym; in _bfd_elf_get_dynamic_symtab_upper_bound()
6565 symtab_size = (symcount + 1) * (sizeof (asymbol *)); in _bfd_elf_get_dynamic_symtab_upper_bound()
6566 if (symcount > 0) in _bfd_elf_get_dynamic_symtab_upper_bound()
6607 long symcount = bed->s->slurp_symbol_table (abfd, allocation, FALSE); in _bfd_elf_canonicalize_symtab() local
6609 if (symcount >= 0) in _bfd_elf_canonicalize_symtab()
6610 bfd_get_symcount (abfd) = symcount; in _bfd_elf_canonicalize_symtab()
6611 return symcount; in _bfd_elf_canonicalize_symtab()
6619 long symcount = bed->s->slurp_symbol_table (abfd, allocation, TRUE); in _bfd_elf_canonicalize_dynamic_symtab() local
6621 if (symcount >= 0) in _bfd_elf_canonicalize_dynamic_symtab()
6622 bfd_get_dynamic_symcount (abfd) = symcount; in _bfd_elf_canonicalize_dynamic_symtab()
6623 return symcount; in _bfd_elf_canonicalize_dynamic_symtab()
8777 long symcount ATTRIBUTE_UNUSED, in _bfd_elf_get_synthetic_symtab()
8911 elf_create_symbuf (bfd_size_type symcount, Elf_Internal_Sym *isymbuf) in elf_create_symbuf() argument
8914 = bfd_malloc2 (symcount, sizeof (*indbuf)); in elf_create_symbuf()
8922 for (ind = indbuf, i = 0; i < symcount; i++) in elf_create_symbuf()