Home
last modified time | relevance | path

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

/openbsd-src/gnu/usr.bin/binutils/gdb/
H A 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()
H A Dsolib-frv.c255 long storage_needed; in bfd_lookup_symbol() local
263 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() local
1115 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 …]
H A Delfread.c146 long storage_needed; in elf_symtab_read() local
170 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()
H A Dsolib-aix5.c103 long storage_needed; in bfd_lookup_symbol() local
111 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()
H A Dsolib-svr4.c217 long storage_needed; in bfd_lookup_symbol() local
225 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()
H A Dpa64solib.c1214 unsigned int storage_needed; in bfd_lookup_symbol() local
1222 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()
H A Dprocfs.c5612 long storage_needed; in dbx_link_addr() local
5617 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
H A DChangeLog-19943752 * elfread.c (elf_symtab_read): Change storage_needed,
H A DChangeLog-20017838 ``storage_needed'' from unsigned int to long in order to
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dsimple.c141 int storage_needed; in bfd_simple_get_relocated_section_contents() local
214 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()
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dsimple.c161 int storage_needed; in bfd_simple_get_relocated_section_contents() local
236 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()
/openbsd-src/gnu/usr.bin/binutils/bfd/doc/
H A Dsyms.texi40 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);
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/doc/
H A Dsyms.texi40 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);