Home
last modified time | relevance | path

Searched refs:bfd_malloc (Results 1 – 25 of 95) sorted by relevance

1234

/dragonfly/contrib/gdb-7/bfd/
HDcompress.c100 compressed_buffer = (bfd_byte *) bfd_malloc (compressed_size); in bfd_compress_section_contents()
181 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
200 compressed_buffer = (bfd_byte *) bfd_malloc (sec->compressed_size); in bfd_get_full_section_contents()
221 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
243 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
416 uncompressed_buffer = (bfd_byte *) bfd_malloc (uncompressed_size); in bfd_init_section_compress_status()
HDelf-strtab.c101 table = (struct elf_strtab_hash *) bfd_malloc (amt); in _bfd_elf_strtab_init()
117 bfd_malloc (table->alloced * amt); in _bfd_elf_strtab_init()
343 array = (struct elf_strtab_hash_entry **) bfd_malloc (amt); in _bfd_elf_strtab_finalize()
HDsimple.c203 data = (bfd_byte *) bfd_malloc (amt); in bfd_simple_get_relocated_section_contents()
233 symbol_table = (asymbol **) bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
HDopncls.c831 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory)); in bfd_make_writable()
1279 dir = (char *) bfd_malloc (dirlen + 1); in find_separate_debug_file()
1297 bfd_malloc (strlen (debug_file_directory) + 1 in find_separate_debug_file()
1521 contents = (char *) bfd_malloc (debuglink_size); in bfd_fill_in_gnu_debuglink_section()
HDbfd.c1856 alloc = (char *) bfd_malloc (suf - name + 1); in bfd_demangle()
1874 alloc = (char *) bfd_malloc (len); in bfd_demangle()
1894 final = (char *) bfd_malloc (pre_len + len + suf_len); in bfd_demangle()
HDcpu-i386.c80 void *fill = bfd_malloc (count); in bfd_arch_i386_fill()
HDarchures.c773 name_list = (const char **) bfd_malloc (amt); in bfd_arch_list()
1371 void *fill = bfd_malloc (count); in bfd_arch_default_fill()
/dragonfly/contrib/binutils-2.27/bfd/
HDcompress.c248 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
264 compressed_buffer = (bfd_byte *) bfd_malloc (sec->compressed_size); in bfd_get_full_section_contents()
285 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
314 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
552 uncompressed_buffer = (bfd_byte *) bfd_malloc (uncompressed_size); in bfd_init_section_compress_status()
HDelf-strtab.c100 table = (struct elf_strtab_hash *) bfd_malloc (amt); in _bfd_elf_strtab_init()
116 bfd_malloc (table->alloced * amt)); in _bfd_elf_strtab_init()
233 save = bfd_malloc (size); in _bfd_elf_strtab_save()
368 array = (struct elf_strtab_hash_entry **) bfd_malloc (amt); in _bfd_elf_strtab_finalize()
HDcpu-i386.c78 void *fill = bfd_malloc (count); in bfd_arch_i386_fill()
127 void *fill = bfd_malloc (count); in bfd_arch_i386_onebyte_nop_fill()
HDlibbfd.c171 bfd_malloc (bfd_size_type size) in bfd_malloc() function
204 return bfd_malloc (size * nmemb); in bfd_malloc2()
216 return bfd_malloc (size); in bfd_realloc()
269 void *ptr = bfd_malloc (size); in bfd_zmalloc()
843 w->i->data = bfd_malloc (count); in _bfd_generic_get_section_contents_in_window()
HDsimple.c230 data = (bfd_byte *) bfd_malloc (amt); in bfd_simple_get_relocated_section_contents()
258 symbol_table = (asymbol **) bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
HDopncls.c850 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory)); in bfd_make_writable()
1261 *buildid_out = bfd_malloc (*buildid_len); in bfd_get_alt_debug_link_info()
1396 dir = (char *) bfd_malloc (dirlen + 1); in find_separate_debug_file()
1414 bfd_malloc (strlen (debug_file_directory) + 1 in find_separate_debug_file()
1676 contents = (char *) bfd_malloc (debuglink_size); in bfd_fill_in_gnu_debuglink_section()
HDcofflink.c114 ret = (struct coff_link_hash_table *) bfd_malloc (amt); in _bfd_coff_link_hash_table_create()
711 flaginfo.section_info = (struct coff_link_section_info *) bfd_malloc (amt); in _bfd_coff_final_link()
755 (struct internal_reloc *) bfd_malloc (amt); in _bfd_coff_final_link()
759 (struct coff_link_hash_entry **) bfd_malloc (amt); in _bfd_coff_final_link()
792 flaginfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); in _bfd_coff_final_link()
794 flaginfo.sec_ptrs = (asection **) bfd_malloc (amt); in _bfd_coff_final_link()
796 flaginfo.sym_indices = (long int *) bfd_malloc (amt); in _bfd_coff_final_link()
797 flaginfo.outsyms = (bfd_byte *) bfd_malloc ((max_sym_count + 1) * symesz); in _bfd_coff_final_link()
799 flaginfo.linenos = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
800 flaginfo.contents = (bfd_byte *) bfd_malloc (max_contents_size); in _bfd_coff_final_link()
[all …]
HDbfd.c1917 alloc = (char *) bfd_malloc (suf - name + 1); in bfd_demangle()
1935 alloc = (char *) bfd_malloc (len); in bfd_demangle()
1955 final = (char *) bfd_malloc (pre_len + len + suf_len); in bfd_demangle()
2246 contents = (bfd_byte *) bfd_malloc (size); in bfd_convert_section_contents()
HDarchures.c834 name_list = (const char **) bfd_malloc (amt); in bfd_arch_list()
1432 void *fill = bfd_malloc (count); in bfd_arch_default_fill()
/dragonfly/contrib/binutils-2.34/bfd/
HDcompress.c272 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
296 compressed_buffer = (bfd_byte *) bfd_malloc (sec->compressed_size); in bfd_get_full_section_contents()
317 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
346 p = (bfd_byte *) bfd_malloc (sz); in bfd_get_full_section_contents()
595 uncompressed_buffer = (bfd_byte *) bfd_malloc (uncompressed_size); in bfd_init_section_compress_status()
HDelf-strtab.c100 table = (struct elf_strtab_hash *) bfd_malloc (amt); in _bfd_elf_strtab_init()
116 bfd_malloc (table->alloced * amt)); in _bfd_elf_strtab_init()
233 save = bfd_malloc (size); in _bfd_elf_strtab_save()
389 array = (struct elf_strtab_hash_entry **) bfd_malloc (amt); in _bfd_elf_strtab_finalize()
HDcpu-i386.c78 void *fill = bfd_malloc (count); in bfd_arch_i386_fill()
127 void *fill = bfd_malloc (count); in bfd_arch_i386_onebyte_nop_fill()
HDlibbfd.c262 bfd_malloc (bfd_size_type size) in bfd_malloc() function
295 return bfd_malloc (size * nmemb); in bfd_malloc2()
307 return bfd_malloc (size); in bfd_realloc()
360 void *ptr = bfd_malloc (size); in bfd_zmalloc()
995 w->i->data = bfd_malloc (count); in _bfd_generic_get_section_contents_in_window()
HDopncls.c870 bim = (struct bfd_in_memory *) bfd_malloc (sizeof (struct bfd_in_memory)); in bfd_make_writable()
1329 *buildid_out = bfd_malloc (*buildid_len); in bfd_get_alt_debug_link_info()
1482 dir = (char *) bfd_malloc (dirlen + 1); in find_separate_debug_file()
1493 dir = (char *) bfd_malloc (1); in find_separate_debug_file()
1514 bfd_malloc (strlen (debug_file_directory) + 1 in find_separate_debug_file()
1810 contents = (char *) bfd_malloc (debuglink_size); in bfd_fill_in_gnu_debuglink_section()
1978 name = bfd_malloc (strlen (".build-id/") + build_id->size * 2 + 2 + strlen (".debug")); in get_build_id_name()
HDsimple.c230 data = (bfd_byte *) bfd_malloc (amt); in bfd_simple_get_relocated_section_contents()
258 symbol_table = (asymbol **) bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
HDcofflink.c114 ret = (struct coff_link_hash_table *) bfd_malloc (amt); in _bfd_coff_link_hash_table_create()
721 flaginfo.section_info = (struct coff_link_section_info *) bfd_malloc (amt); in _bfd_coff_final_link()
765 (struct internal_reloc *) bfd_malloc (amt); in _bfd_coff_final_link()
769 (struct coff_link_hash_entry **) bfd_malloc (amt); in _bfd_coff_final_link()
802 flaginfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); in _bfd_coff_final_link()
804 flaginfo.sec_ptrs = (asection **) bfd_malloc (amt); in _bfd_coff_final_link()
806 flaginfo.sym_indices = (long int *) bfd_malloc (amt); in _bfd_coff_final_link()
807 flaginfo.outsyms = (bfd_byte *) bfd_malloc ((max_sym_count + 1) * symesz); in _bfd_coff_final_link()
809 flaginfo.linenos = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
810 flaginfo.contents = (bfd_byte *) bfd_malloc (max_contents_size); in _bfd_coff_final_link()
[all …]
HDarchures.c861 name_list = (const char **) bfd_malloc (amt); in bfd_arch_list()
1450 void *fill = bfd_malloc (count); in bfd_arch_default_fill()
HDbfd.c2474 alloc = (char *) bfd_malloc (suf - name + 1); in bfd_demangle()
2492 alloc = (char *) bfd_malloc (len); in bfd_demangle()
2512 final = (char *) bfd_malloc (pre_len + len + suf_len); in bfd_demangle()
2832 contents = (bfd_byte *) bfd_malloc (size); in bfd_convert_section_contents()

1234