Searched refs:storage_needed (Results 1 – 13 of 13) 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()
255 long storage_needed; in bfd_lookup_symbol() local263 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_lookup_symbol()265 if (storage_needed > 0) in bfd_lookup_symbol()267 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()289 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd); in bfd_lookup_symbol()291 if (storage_needed > 0) in bfd_lookup_symbol()293 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()1111 long storage_needed; in find_canonical_descriptor_in_load_object() local1115 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd); in find_canonical_descriptor_in_load_object()1118 if (storage_needed <= 0) in find_canonical_descriptor_in_load_object()[all …]
146 long storage_needed; in elf_symtab_read() local170 storage_needed = bfd_get_dynamic_symtab_upper_bound (objfile->obfd); in elf_symtab_read()173 if (storage_needed < 0) in elf_symtab_read()178 storage_needed = bfd_get_symtab_upper_bound (objfile->obfd); in elf_symtab_read()179 if (storage_needed < 0) in elf_symtab_read()183 if (storage_needed > 0) in elf_symtab_read()185 symbol_table = (asymbol **) xmalloc (storage_needed); in elf_symtab_read()
103 long storage_needed; in bfd_lookup_symbol() local111 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_lookup_symbol()113 if (storage_needed > 0) in bfd_lookup_symbol()115 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()137 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd); in bfd_lookup_symbol()139 if (storage_needed > 0) in bfd_lookup_symbol()141 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()
217 long storage_needed; in bfd_lookup_symbol() local225 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_lookup_symbol()227 if (storage_needed > 0) in bfd_lookup_symbol()229 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()253 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd); in bfd_lookup_symbol()255 if (storage_needed > 0) in bfd_lookup_symbol()257 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()
1214 unsigned int storage_needed; in bfd_lookup_symbol() local1222 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_lookup_symbol()1224 if (storage_needed > 0) in bfd_lookup_symbol()1226 symbol_table = (asymbol **) xmalloc (storage_needed); in bfd_lookup_symbol()
5612 long storage_needed; in dbx_link_addr() local5617 storage_needed = bfd_get_symtab_upper_bound (abfd); in dbx_link_addr()5618 if (storage_needed <= 0) in dbx_link_addr()5621 symbol_table = (asymbol **) xmalloc (storage_needed); in dbx_link_addr()5647 long storage_needed; in insert_dbx_link_bpt_in_file() local
3752 * elfread.c (elf_symtab_read): Change storage_needed,
7838 ``storage_needed'' from unsigned int to long in order to
141 int storage_needed; in bfd_simple_get_relocated_section_contents() local214 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_simple_get_relocated_section_contents()215 symbol_table = bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()219 storage_needed = 0; in bfd_simple_get_relocated_section_contents()246 if (storage_needed != 0) in bfd_simple_get_relocated_section_contents()
161 int storage_needed; in bfd_simple_get_relocated_section_contents() local236 storage_needed = bfd_get_symtab_upper_bound (abfd); in bfd_simple_get_relocated_section_contents()237 symbol_table = bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()241 storage_needed = 0; in bfd_simple_get_relocated_section_contents()
40 long storage_needed;45 storage_needed = bfd_get_symtab_upper_bound (abfd);47 if (storage_needed < 0)50 if (storage_needed == 0)53 symbol_table = xmalloc (storage_needed);