Searched refs:symcount (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-11-stable/contrib/binutils/binutils/
H A Dnm.c389 long symcount, unsigned int size)
399 fromend = from + symcount * size;
651 long symcount, unsigned int size,
659 qsort (minisyms, symcount, size, size_forward1);
663 symsizes = xmalloc (symcount * sizeof (struct size_sym));
670 fromend = from + symcount * size;
733 symcount = symsizes - *symsizesp;
736 qsort ((void *) *symsizesp, symcount, sizeof (struct size_sym), size_forward2);
738 return symcount;
800 static long symcount;
384 filter_symbols(bfd *abfd, bfd_boolean dynamic, void *minisyms, long symcount, unsigned int size) argument
645 sort_symbols_by_size(bfd *abfd, bfd_boolean dynamic, void *minisyms, long symcount, unsigned int size, struct size_sym **symsizesp) argument
795 static long symcount; local
909 print_size_symbols(bfd *abfd, bfd_boolean dynamic, struct size_sym *symsizes, long symcount, bfd *archive_bfd) argument
946 print_symbols(bfd *abfd, bfd_boolean dynamic, void *minisyms, long symcount, unsigned int size, bfd *archive_bfd) argument
975 long symcount; local
[all...]
H A Drddbg.c47 read_debugging_info (bfd *abfd, asymbol **syms, long symcount) argument
56 if (! read_section_stabs_debugging_info (abfd, syms, symcount, dhandle,
62 if (! read_symbol_stabs_debugging_info (abfd, syms, symcount, dhandle,
77 && symcount > 0)
79 if (! parse_coff (abfd, syms, symcount, dhandle))
97 read_section_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount, argument
152 shandle = start_stab (dhandle, abfd, TRUE, syms, symcount);
260 read_symbol_stabs_debugging_info (bfd *abfd, asymbol **syms, long symcount, argument
267 symend = syms + symcount;
281 shandle = start_stab (dhandle, abfd, FALSE, syms, symcount);
[all...]
H A Daddr2line.c103 long symcount;
109 symcount = bfd_read_minisymbols (abfd, FALSE, (void *) &syms, &size);
110 if (symcount == 0)
111 symcount = bfd_read_minisymbols (abfd, TRUE /* dynamic */, (void *) &syms, &size);
113 if (symcount < 0)
101 long symcount; local
H A Drdcoff.c54 long symcount; member in struct:coff_symbols
394 && symbols->symno < symbols->symcount)
503 && symbols->symno < symbols->symcount)
656 parse_coff (bfd *abfd, asymbol **syms, long symcount, void *dhandle)
671 symbols.symcount = symcount;
687 while (symbols.symno < symcount)
655 parse_coff(bfd *abfd, asymbol **syms, long symcount, void *dhandle) argument
H A Dcoffgrok.c53 static long symcount; variable
734 symcount = bfd_canonicalize_symtab (abfd, syms);
735 if (symcount < 0)
H A Ddlltool.c1319 scan_filtered_symbols (bfd *abfd, void *minisyms, long symcount, argument
1330 fromend = from + symcount * size;
1416 filter_symbols (bfd *abfd, void *minisyms, long symcount, unsigned int size) argument
1426 fromend = from + symcount * size;
1462 long symcount; local
1479 symcount = bfd_read_minisymbols (abfd, FALSE, &minisyms, &size);
1480 if (symcount < 0)
1483 if (symcount == 0)
1493 symcount = filter_symbols (abfd, minisyms, symcount, siz
[all...]
H A Dobjcopy.c911 asymbol **isyms, long symcount)
917 for (; src_count < symcount; src_count++)
1320 long symcount;
1416 symcount = bfd_canonicalize_symtab (ibfd, isympp);
1417 if (symcount < 0)
1639 dhandle = read_debugging_info (ibfd, isympp, symcount);
1674 osympp = xmalloc ((symcount + 1) * sizeof (asymbol *));
1675 symcount = filter_symbols (ibfd, obfd, osympp, isympp, symcount);
1680 if (! write_debugging_info (obfd, dhandle, &symcount,
908 filter_symbols(bfd *abfd, bfd *obfd, asymbol **osyms, asymbol **isyms, long symcount) argument
1318 long symcount; local
[all...]
H A Dobjdump.c149 static long symcount = 0; variable
420 symcount = 0;
430 symcount = bfd_canonicalize_symtab (abfd, sy);
431 if (symcount < 0)
1911 sorted_symcount = symcount ? symcount : dynsymcount;
1913 memcpy (sorted_syms, symcount ? syms : dynsyms,
2567 max = symcount;
2884 synthcount = bfd_get_synthetic_symtab (abfd, symcount, syms,
2911 dhandle = read_debugging_info (abfd, syms, symcount);
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb-stabs.h54 int symcount; /* How many symbols are there in the file */ member in struct:dbx_symfile_info
80 #define DBX_SYMCOUNT(o) (DBX_SYMFILE_INFO(o)->symcount)
H A Delfread.c466 long symcount = 0, dynsymcount = 0, synthcount, storage_needed; local
494 symcount = bfd_canonicalize_symtab (objfile->obfd, symbol_table);
496 if (symcount < 0)
500 elf_symtab_read (objfile, 0, symcount, symbol_table);
523 synthcount = bfd_get_synthetic_symtab (abfd, symcount, symbol_table,
H A Dhpread.c1786 int hp_symnum, symcount, i;
1906 symcount = GNTT_SYMCOUNT (objfile);
1908 symcount = LNTT_SYMCOUNT (objfile);
1911 for (hp_symnum = scan_start; hp_symnum < symcount; hp_symnum++)
1930 && symcount == hp_symnum + 1)
2015 valu = hpread_get_textlow (i, hp_symnum, objfile, symcount);
2049 valu = hpread_get_textlow (i, hp_symnum, objfile, symcount);
2118 && symcount == hp_symnum + 1)
2338 int symcount)
2344 if (index < symcount) /* symcoun
1776 int hp_symnum, symcount, i; local
2326 hpread_get_textlow(int global, int index, struct objfile *objfile, int symcount) argument
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Dgenlink.h78 and keeps them in the outsymbol and symcount fields. */
81 #define _bfd_generic_link_get_symcount(abfd) ((abfd)->symcount)
H A Dsyms.c439 bfd_set_symtab (bfd *abfd, asymbol **location, unsigned int symcount) argument
448 bfd_get_symcount (abfd) = symcount;
787 long symcount; local
803 symcount = bfd_canonicalize_dynamic_symtab (abfd, syms);
805 symcount = bfd_canonicalize_symtab (abfd, syms);
806 if (symcount < 0)
811 return symcount;
H A Delfcode.h1114 unsigned long symcount; /* Number of external ELF symbols */
1158 symcount = hdr->sh_size / sizeof (Elf_External_Sym);
1159 if (symcount == 0)
1163 isymbuf = bfd_elf_get_elf_syms (abfd, hdr, symcount, 0,
1168 amt = symcount;
1176 && verhdr->sh_size / sizeof (Elf_External_Versym) != symcount)
1182 symcount);
1206 isymend = isymbuf + symcount;
1313 (*ebd->elf_backend_symbol_table_processing) (abfd, symbase, symcount);
1317 symcount
1111 unsigned long symcount; /* Number of external ELF symbols */ local
1362 unsigned int symcount; local
[all...]
H A Dsrec.c286 ++abfd->symcount;
618 if (abfd->symcount > 0)
653 if (abfd->symcount > 0)
1121 bfd_size_type symcount = bfd_get_symcount (abfd); local
1131 csymbols = bfd_alloc (abfd, symcount * sizeof (asymbol));
1132 if (csymbols == NULL && symcount != 0)
1149 for (i = 0; i < symcount; i++)
1153 return symcount;
H A Delf.c333 size_t symcount,
351 if (symcount == 0)
364 amt = symcount * extsym_size;
368 alloc_ext = bfd_malloc2 (symcount, extsym_size);
383 amt = symcount * sizeof (Elf_External_Sym_Shndx);
387 alloc_extshndx = bfd_malloc2 (symcount,
402 intsym_buf = bfd_malloc2 (symcount, sizeof (Elf_Internal_Sym));
408 isymend = intsym_buf + symcount;
3400 unsigned int symcount = bfd_get_symcount (abfd);
3432 for (idx = 0; idx < symcount; id
331 bfd_elf_get_elf_syms(bfd *ibfd, Elf_Internal_Shdr *symtab_hdr, size_t symcount, size_t symoffset, Elf_Internal_Sym *intsym_buf, void *extsym_buf, Elf_External_Sym_Shndx *extshndx_buf) argument
3395 unsigned int symcount = bfd_get_symcount (abfd); local
6248 int symcount; local
6539 long symcount; local
6554 long symcount; local
6607 long symcount = bed->s->slurp_symbol_table (abfd, allocation, FALSE); local
6619 long symcount = bed->s->slurp_symbol_table (abfd, allocation, TRUE); local
8911 elf_create_symbuf(bfd_size_type symcount, Elf_Internal_Sym *isymbuf) argument
[all...]
H A Dbinary.c74 abfd->symcount = BIN_SYMS;
H A Dlinker.c747 long symcount;
755 symcount = bfd_canonicalize_symtab (abfd, bfd_get_outsymbols (abfd));
756 if (symcount < 0)
758 bfd_get_symcount (abfd) = symcount;
836 bfd_size_type symcount;
841 symcount = _bfd_generic_link_get_symcount (abfd);
843 return generic_link_add_symbol_list (abfd, info, symcount, outsyms, collect);
1204 bfd_size_type symcount;
1211 symcount = _bfd_generic_link_get_symcount (abfd);
1213 if (! generic_link_add_symbol_list (abfd, info, symcount,
746 long symcount; local
834 bfd_size_type symcount; local
1200 bfd_size_type symcount; local
[all...]
H A Delf32-spu.c439 size_t symcount = symtab_hdr->sh_info; local
445 symcount = symtab_hdr->sh_size / symtab_hdr->sh_entsize;
446 locsyms = bfd_elf_get_elf_syms (ibfd, symtab_hdr, symcount, 0,
2127 size_t symcount; local
2136 symcount = symtab_hdr->sh_size / symtab_hdr->sh_entsize;
2137 if (symcount == 0)
2143 syms = bfd_elf_get_elf_syms (ibfd, symtab_hdr, symcount, 0,
2151 psyms = bfd_malloc ((symcount + 1) * sizeof (*psyms));
2155 psecs = bfd_malloc (symcount * sizeof (*psecs));
2159 for (psy = psyms, p = psecs, sy = syms; sy < syms + symcount;
[all...]
H A Dtekhex.c421 abfd->symcount++;
522 return (abfd->symcount + 1) * (sizeof (struct tekhex_asymbol_struct *));
H A Delf32-cr16.c685 unsigned int symcount; local
749 symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
752 end_hashes = sym_hashes + symcount;
H A Daout-arm.c352 bfd_size_type symcount ATTRIBUTE_UNUSED)
H A Darchive.c1832 long symcount;
1850 symcount = bfd_canonicalize_symtab (current, syms);
1851 if (symcount < 0)
1856 for (src_count = 0; src_count < symcount; src_count++)
1823 long symcount; local
H A Dieee.c947 abfd->symcount =
950 if (symbol_count != abfd->symcount)
978 return (abfd->symcount != 0) ?
979 (abfd->symcount + 1) * (sizeof (ieee_symbol_type *)) : 0;
1005 if (abfd->symcount)
1019 for (i = 0; i < abfd->symcount; i++)
1041 if (abfd->symcount)
1042 location[abfd->symcount] = (asymbol *) NULL;
1044 return abfd->symcount;
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dtrace.c100 long storage, symcount; local
128 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms);
130 symcount = bfd_canonicalize_symtab(abfd, syms);
131 if (symcount < 0) {

Completed in 195 milliseconds

12