/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | simple.c | 150 contents = bfd_malloc (size); in bfd_simple_get_relocated_section_contents() 185 data = bfd_malloc (bfd_section_size (abfd, sec)); in bfd_simple_get_relocated_section_contents() 215 symbol_table = bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
|
H A D | elf-strtab.c | 98 table = bfd_malloc (amt); in _bfd_elf_strtab_init() 112 table->array = bfd_malloc (table->alloced * amt); in _bfd_elf_strtab_init() 311 array = bfd_malloc (amt); in _bfd_elf_strtab_finalize()
|
H A D | coff-ppc.c | 206 ret = (struct ppc_coff_link_hash_table *) bfd_malloc (amt); 854 struct list_ele *t = (struct list_ele *) bfd_malloc (amt); 2410 (struct internal_reloc *) bfd_malloc (amt); 2414 (struct coff_link_hash_entry **) bfd_malloc (amt); 2447 finfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); 2449 finfo.sec_ptrs = (asection **) bfd_malloc (amt); 2451 finfo.sym_indices = (long *) bfd_malloc (amt); 2453 finfo.outsyms = (bfd_byte *) bfd_malloc (amt); 2455 finfo.linenos = (bfd_byte *) bfd_malloc (amt); 2456 finfo.contents = (bfd_byte *) bfd_malloc (max_contents_size); [all …]
|
H A D | reloc16.c | 161 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); 277 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size);
|
H A D | cofflink.c | 111 ret = bfd_malloc (amt); in _bfd_coff_link_hash_table_create() 767 finfo.section_info = bfd_malloc (amt); in _bfd_coff_final_link() 846 finfo.internal_syms = bfd_malloc (amt); in _bfd_coff_final_link() 848 finfo.sec_ptrs = bfd_malloc (amt); in _bfd_coff_final_link() 850 finfo.sym_indices = bfd_malloc (amt); in _bfd_coff_final_link() 853 finfo.linenos = bfd_malloc (amt); in _bfd_coff_final_link() 854 finfo.contents = bfd_malloc (max_contents_size); in _bfd_coff_final_link() 856 finfo.external_relocs = bfd_malloc (amt); in _bfd_coff_final_link() 860 finfo.internal_relocs = bfd_malloc (amt); in _bfd_coff_final_link() 1010 external_relocs = bfd_malloc (amt); in _bfd_coff_final_link() [all …]
|
H A D | cpu-arm.c | 305 buffer = bfd_malloc (buffer_size); 404 buffer = bfd_malloc (buffer_size);
|
H A D | pef.c | 475 loaderbuf = (unsigned char *) bfd_malloc (loaderlen); 520 loaderbuf = (unsigned char *) bfd_malloc (loaderlen); 815 libraries = (bfd_pef_imported_library *) bfd_malloc 817 imports = (bfd_pef_imported_symbol *) bfd_malloc 963 codebuf = (unsigned char *) bfd_malloc (codelen); 974 loaderbuf = (unsigned char *) bfd_malloc (loaderlen);
|
H A D | coff-h8300.c | 203 ret = (struct h8300_coff_link_hash_table *) bfd_malloc (amt); in h8300_coff_link_hash_table_create() 1175 char *new_name = bfd_malloc ((bfd_size_type) strlen (name) + 9); in h8300_reloc16_extra_cases() 1326 relocs = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); in h8300_bfd_link_add_symbols() 1365 new_name = bfd_malloc ((bfd_size_type) strlen (name) + 9); in h8300_bfd_link_add_symbols() 1424 sec->contents = bfd_malloc (sec->_raw_size); in h8300_bfd_link_add_symbols()
|
H A D | stabs.c | 272 stabbuf = (bfd_byte *) bfd_malloc (stabsec->_raw_size); 273 stabstrbuf = (bfd_byte *) bfd_malloc (stabstrsec->_raw_size); 615 stabbuf = (bfd_byte *) bfd_malloc (stabsec->_raw_size);
|
H A D | syms.c | 773 syms = bfd_malloc (storage); in _bfd_generic_read_minisymbols() 989 reloc_vector = bfd_malloc (reloc_size); in _bfd_stab_section_find_nearest_line() 1337 info->filename = bfd_malloc (dirlen + len); in _bfd_stab_section_find_nearest_line()
|
H A D | linker.c | 547 n = bfd_malloc (amt); in bfd_wrapped_link_hash_lookup() 578 n = bfd_malloc (amt); in bfd_wrapped_link_hash_lookup() 667 ret = bfd_malloc (amt); in _bfd_generic_link_hash_table_create() 1008 char *buf = bfd_malloc (amt); in _bfd_generic_link_add_archive_symbols() 2019 relocs = bfd_malloc (relsize); in _bfd_generic_final_link() 2632 fill = bfd_malloc (size); in default_data_link_order() 2760 contents = bfd_malloc (sec_size); in default_indirect_link_order()
|
H A D | bout.c | 601 relocs = (struct relocation_info *) bfd_malloc (reloc_size); 606 reloc_cache = (arelent *) bfd_malloc (amt); 797 native = ((struct relocation_info *) bfd_malloc (natsize)); 1252 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); 1327 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size);
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | simple.c | 170 contents = bfd_malloc (amt); in bfd_simple_get_relocated_section_contents() 207 data = bfd_malloc (sec->size); in bfd_simple_get_relocated_section_contents() 237 symbol_table = bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
|
H A D | coff-ppc.c | 201 ret = (struct ppc_coff_link_hash_table *) bfd_malloc (amt); 832 struct list_ele *t = (struct list_ele *) bfd_malloc (amt); 2214 (struct internal_reloc *) bfd_malloc (amt); 2218 (struct coff_link_hash_entry **) bfd_malloc (amt); 2251 finfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); 2253 finfo.sec_ptrs = (asection **) bfd_malloc (amt); 2255 finfo.sym_indices = (long *) bfd_malloc (amt); 2257 finfo.outsyms = (bfd_byte *) bfd_malloc (amt); 2259 finfo.linenos = (bfd_byte *) bfd_malloc (amt); 2260 finfo.contents = (bfd_byte *) bfd_malloc (max_contents_size); [all …]
|
H A D | elf-strtab.c | 98 table = bfd_malloc (amt); in _bfd_elf_strtab_init() 113 table->array = bfd_malloc (table->alloced * amt); in _bfd_elf_strtab_init() 312 array = bfd_malloc (amt); in _bfd_elf_strtab_finalize()
|
H A D | elf32-sh-symbian.c | 133 if ((node = bfd_malloc (sizeof * node)) == NULL) in sh_symbian_import_as() 140 if ((node->current_name = bfd_malloc (strlen (current_name) + 1)) == NULL) in sh_symbian_import_as() 150 if ((node->new_name = bfd_malloc (strlen (new_name) + 1)) == NULL) in sh_symbian_import_as() 407 contents = bfd_malloc (sz); in bfd_elf32_sh_symbian_process_directives()
|
H A D | reloc16.c | 161 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); 276 reloc_vector = (arelent **) bfd_malloc ((bfd_size_type) reloc_size);
|
H A D | pef.c | 437 loaderbuf = bfd_malloc (loaderlen); in bfd_pef_print_loader_section() 468 loaderbuf = bfd_malloc (loaderlen); in bfd_pef_scan_start_address() 750 libraries = bfd_malloc in bfd_pef_parse_function_stubs() 752 imports = bfd_malloc in bfd_pef_parse_function_stubs() 898 codebuf = bfd_malloc (codelen); in bfd_pef_parse_symbols() 909 loaderbuf = bfd_malloc (loaderlen); in bfd_pef_parse_symbols()
|
H A D | cofflink.c | 112 ret = bfd_malloc (amt); in _bfd_coff_link_hash_table_create() 771 finfo.section_info = bfd_malloc (amt); in _bfd_coff_final_link() 850 finfo.internal_syms = bfd_malloc (amt); in _bfd_coff_final_link() 852 finfo.sec_ptrs = bfd_malloc (amt); in _bfd_coff_final_link() 854 finfo.sym_indices = bfd_malloc (amt); in _bfd_coff_final_link() 857 finfo.linenos = bfd_malloc (amt); in _bfd_coff_final_link() 858 finfo.contents = bfd_malloc (max_contents_size); in _bfd_coff_final_link() 860 finfo.external_relocs = bfd_malloc (amt); in _bfd_coff_final_link() 864 finfo.internal_relocs = bfd_malloc (amt); in _bfd_coff_final_link() 1014 external_relocs = bfd_malloc (amt); in _bfd_coff_final_link() [all …]
|
H A D | coff-h8300.c | 197 ret = (struct h8300_coff_link_hash_table *) bfd_malloc (amt); in h8300_coff_link_hash_table_create() 1173 char *new_name = bfd_malloc ((bfd_size_type) strlen (name) + 10); in h8300_reloc16_extra_cases() 1323 relocs = (arelent **) bfd_malloc ((bfd_size_type) reloc_size); in h8300_bfd_link_add_symbols() 1362 new_name = bfd_malloc ((bfd_size_type) strlen (name) + 10); in h8300_bfd_link_add_symbols() 1419 sec->contents = bfd_malloc (sec->size); in h8300_bfd_link_add_symbols()
|
H A D | bout.c | 280 native = bfd_malloc (natsize); in b_out_squirt_out_relocs() 693 relocs = bfd_malloc (reloc_size); in b_out_slurp_reloc_table() 698 reloc_cache = bfd_malloc (amt); in b_out_slurp_reloc_table() 1142 reloc_vector = bfd_malloc ((bfd_size_type) reloc_size); in b_out_bfd_relax_section() 1214 reloc_vector = bfd_malloc ((bfd_size_type) reloc_size); in b_out_bfd_get_relocated_section_contents()
|
H A D | xtensa-isa.c | 243 bfd_malloc (isa->num_opcodes * sizeof (xtensa_lookup_entry)); in xtensa_isa_init() 255 bfd_malloc (isa->num_states * sizeof (xtensa_lookup_entry)); in xtensa_isa_init() 267 bfd_malloc (isa->num_sysregs * sizeof (xtensa_lookup_entry)); in xtensa_isa_init() 281 bfd_malloc ((isa->max_sysreg_num[is_user] + 1) in xtensa_isa_init() 299 bfd_malloc (isa->num_interfaces * sizeof (xtensa_lookup_entry)); in xtensa_isa_init() 312 bfd_malloc (isa->num_funcUnits * sizeof (xtensa_lookup_entry)); in xtensa_isa_init()
|
H A D | syms.c | 790 syms = bfd_malloc (storage); in _bfd_generic_read_minisymbols() 1014 reloc_vector = bfd_malloc (reloc_size); in _bfd_stab_section_find_nearest_line() 1366 info->filename = bfd_malloc (dirlen + len); in _bfd_stab_section_find_nearest_line()
|
H A D | section.c | 917 sname = bfd_malloc (len + 8); in bfd_get_unique_section_name() 1458 p = bfd_malloc (sec->rawsize > sec->size ? sec->rawsize : sec->size); in bfd_malloc_and_get_section()
|
H A D | coff-arm.c | 878 ret = bfd_malloc (amt); in coff_arm_link_hash_table_create() 981 tmp_name = bfd_malloc (amt); in find_thumb_glue() 1010 tmp_name = bfd_malloc (amt); in find_arm_glue() 1805 tmp_name = bfd_malloc (amt); in record_arm_to_thumb_glue() 1861 tmp_name = bfd_malloc (amt); in record_thumb_to_arm_glue() 1894 tmp_name = bfd_malloc (amt); in record_thumb_to_arm_glue()
|