Home
last modified time | relevance | path

Searched refs:storage_needed (Results 1 – 5 of 5) sorted by relevance

/freebsd-10-stable/contrib/gdb/gdb/
Dnlmread.c95 long storage_needed; in nlm_symtab_read() local
104 storage_needed = bfd_get_symtab_upper_bound (abfd); in nlm_symtab_read()
105 if (storage_needed < 0) in nlm_symtab_read()
108 if (storage_needed > 0) in nlm_symtab_read()
110 symbol_table = (asymbol **) xmalloc (storage_needed); in nlm_symtab_read()
Delfread.c148 long storage_needed; in elf_symtab_read() local
466 long symcount = 0, dynsymcount = 0, synthcount, storage_needed; in elf_symfile_read() local
485 storage_needed = bfd_get_symtab_upper_bound (objfile->obfd); in elf_symfile_read()
486 if (storage_needed < 0) in elf_symfile_read()
490 if (storage_needed > 0) in elf_symfile_read()
492 symbol_table = (asymbol **) xmalloc (storage_needed); in elf_symfile_read()
505 storage_needed = bfd_get_dynamic_symtab_upper_bound (objfile->obfd); in elf_symfile_read()
507 if (storage_needed > 0) in elf_symfile_read()
509 dyn_symbol_table = (asymbol **) xmalloc (storage_needed); in elf_symfile_read()
Dsolib-svr4.c214 long storage_needed; in bfd_lookup_symbol() local
222 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_lookup_symbol()
224 if (storage_needed > 0) in bfd_lookup_symbol()
226 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()
250 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd); in bfd_lookup_symbol()
252 if (storage_needed > 0) in bfd_lookup_symbol()
254 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()
Dpa64solib.c1217 unsigned int storage_needed; in bfd_lookup_symbol() local
1225 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_lookup_symbol()
1227 if (storage_needed > 0) in bfd_lookup_symbol()
1229 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()
/freebsd-10-stable/contrib/binutils/bfd/
Dsimple.c161 int storage_needed; in bfd_simple_get_relocated_section_contents() local
237 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_simple_get_relocated_section_contents()
238 symbol_table = bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
242 storage_needed = 0; in bfd_simple_get_relocated_section_contents()