Searched refs:storage_needed (Results 1 – 5 of 5) sorted by relevance
95 long storage_needed; in nlm_symtab_read() local104 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()
148 long storage_needed; in elf_symtab_read() local466 long symcount = 0, dynsymcount = 0, synthcount, storage_needed; in elf_symfile_read() local485 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()
214 long storage_needed; in bfd_lookup_symbol() local222 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()
1217 unsigned int storage_needed; in bfd_lookup_symbol() local1225 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()
161 int storage_needed; in bfd_simple_get_relocated_section_contents() local237 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()