| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | simple.c | 170 contents = bfd_malloc (amt); in bfd_simple_get_relocated_section_contents() 208 data = bfd_malloc (sec->size); in bfd_simple_get_relocated_section_contents() 238 symbol_table = bfd_malloc (storage_needed); in bfd_simple_get_relocated_section_contents()
|
| H A D | coff-ppc.c | 200 ret = (struct ppc_coff_link_hash_table *) bfd_malloc (amt); 831 struct list_ele *t = (struct list_ele *) bfd_malloc (amt); 2229 (struct internal_reloc *) bfd_malloc (amt); 2233 (struct coff_link_hash_entry **) bfd_malloc (amt); 2266 finfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); 2268 finfo.sec_ptrs = (asection **) bfd_malloc (amt); 2270 finfo.sym_indices = (long *) bfd_malloc (amt); 2272 finfo.outsyms = (bfd_byte *) bfd_malloc (amt); 2274 finfo.linenos = (bfd_byte *) bfd_malloc (amt); 2275 finfo.contents = (bfd_byte *) bfd_malloc (max_contents_size); [all …]
|
| H A D | elf-strtab.c | 99 table = bfd_malloc (amt); in _bfd_elf_strtab_init() 114 table->array = bfd_malloc (table->alloced * amt); in _bfd_elf_strtab_init() 313 array = bfd_malloc (amt); in _bfd_elf_strtab_finalize()
|
| 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 | 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 | syms.c | 798 syms = bfd_malloc (storage); in _bfd_generic_read_minisymbols() 1022 reloc_vector = bfd_malloc (reloc_size); in _bfd_stab_section_find_nearest_line() 1374 info->filename = bfd_malloc (dirlen + len); in _bfd_stab_section_find_nearest_line()
|
| H A D | elf32-spu.c | 356 htab = bfd_malloc (sizeof (*htab)); in spu_elf_link_hash_table_create() 489 stub_name = bfd_malloc (len); in spu_stub_name() 501 stub_name = bfd_malloc (len); in spu_stub_name() 608 alloc_sec = bfd_malloc (output_bfd->section_count * sizeof (*alloc_sec)); in spu_elf_find_overlays() 1091 stubs.sh = bfd_malloc (stubs.count * sizeof (*stubs.sh)); in spu_elf_size_stubs() 1263 name = bfd_malloc (len1 + len2 + 1); in write_one_stub() 1750 char *name = bfd_malloc (len + 10); in func_name() 2002 callee = bfd_malloc (sizeof *callee); in mark_functions_via_relocs() 2151 psyms = bfd_malloc ((symcount + 1) * sizeof (*psyms)); in discover_functions() 2155 psecs = bfd_malloc (symcount * sizeof (*psecs)); in discover_functions() [all …]
|
| H A D | section.c | 918 sname = bfd_malloc (len + 8); in bfd_get_unique_section_name() 1466 p = bfd_malloc (sec->rawsize > sec->size ? sec->rawsize : sec->size); in bfd_malloc_and_get_section()
|
| H A D | coff-arm.c | 921 ret = bfd_malloc (amt); in coff_arm_link_hash_table_create() 1024 tmp_name = bfd_malloc (amt); in find_thumb_glue() 1053 tmp_name = bfd_malloc (amt); in find_arm_glue() 1850 tmp_name = bfd_malloc (amt); in record_arm_to_thumb_glue() 1906 tmp_name = bfd_malloc (amt); in record_thumb_to_arm_glue() 1939 tmp_name = bfd_malloc (amt); in record_thumb_to_arm_glue()
|
| H A D | bout.c | 280 native = bfd_malloc (natsize); in b_out_squirt_out_relocs() 708 relocs = bfd_malloc (reloc_size); in b_out_slurp_reloc_table() 713 reloc_cache = bfd_malloc (amt); in b_out_slurp_reloc_table() 1158 reloc_vector = bfd_malloc ((bfd_size_type) reloc_size); in b_out_bfd_relax_section() 1230 reloc_vector = bfd_malloc ((bfd_size_type) reloc_size); in b_out_bfd_get_relocated_section_contents()
|
| H A D | format.c | 148 matching_vector = bfd_malloc (amt); in bfd_check_format_matches()
|
| H A D | linker.c | 551 n = bfd_malloc (amt); in bfd_wrapped_link_hash_lookup() 582 n = bfd_malloc (amt); in bfd_wrapped_link_hash_lookup() 710 ret = bfd_malloc (amt); in _bfd_generic_link_hash_table_create() 1054 char *buf = bfd_malloc (amt); in _bfd_generic_link_add_archive_symbols() 2065 relocs = bfd_malloc (relsize); in _bfd_generic_final_link() 2677 fill = bfd_malloc (size); in default_data_link_order() 2806 contents = bfd_malloc (sec_size); in default_indirect_link_order()
|
| H A D | xcofflink.c | 444 ret = bfd_malloc (amt); in _bfd_xcoff_bfd_link_hash_table_create() 1050 linenos = bfd_malloc (amt); in xcoff_link_add_symbols() 2583 fnname = bfd_malloc (amt); in bfd_xcoff_export_symbol() 3044 ldsym = bfd_malloc (amt); in bfd_xcoff_size_dynamic_sections() 5536 finfo.section_info = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link() 5639 finfo.internal_syms = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link() 5642 finfo.sym_indices = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link() 5645 finfo.outsyms = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link() 5648 finfo.linenos = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link() 5651 finfo.contents = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link() [all …]
|
| H A D | srec.c | 364 symbuf = bfd_malloc (alc + 1); in srec_scan() 477 buf = bfd_malloc ((bfd_size_type) bytes * 2); in srec_scan() 698 buf = bfd_malloc ((bfd_size_type) bytes * 2); in srec_read_section()
|
| H A D | elflink.c | 1895 alc = bfd_malloc (len); in _bfd_elf_link_assign_sym_version() 2179 alloc1 = bfd_malloc (size); in _bfd_elf_link_read_relocs() 4501 shortname = bfd_malloc (amt + 1); in elf_link_add_object_symbols() 5069 alc = bfd_malloc (p - name + 1); in elf_collect_hash_codes() 5138 alc = bfd_malloc (p - name + 1); in elf_collect_gnu_hash_codes() 5277 counts = bfd_malloc (amt); in compute_bucket_count() 5560 newname = bfd_malloc (newlen); in bfd_elf_size_dynamic_sections() 6241 hashcodes = bfd_malloc (amt); in bfd_elf_size_dynsym_hash_dynstr() 6287 cinfo.hashcodes = bfd_malloc (amt); in bfd_elf_size_dynsym_hash_dynstr() 9664 finfo.symbuf = bfd_malloc (amt); in bfd_elf_final_link() [all …]
|
| H A D | libbfd.c | 162 bfd_malloc (bfd_size_type size) in bfd_malloc() function 860 w->i->data = bfd_malloc (count); in _bfd_generic_get_section_contents_in_window()
|
| H A D | ecoff.c | 451 raw = bfd_malloc (external_hdr_size); in ecoff_slurp_symbolic_header() 1946 sorted_hdrs = bfd_malloc (amt); in ecoff_compute_section_file_positions() 2383 buff = bfd_malloc (siz); in _bfd_ecoff_write_object_contents() 3285 ret = bfd_malloc (amt); in _bfd_ecoff_bfd_link_hash_table_create() 3549 external_ext = bfd_malloc (esize); in ecoff_link_add_object_symbols() 3557 ssext = bfd_malloc ((bfd_size_type) symhdr->issExtMax); in ecoff_link_add_object_symbols() 3615 external_ext = bfd_malloc (esize); in ecoff_link_check_archive_element() 3623 ssext = bfd_malloc ((bfd_size_type) symhdr->issExtMax); in ecoff_link_check_archive_element() 3912 debug->ptr = bfd_malloc (amt); \ in ecoff_final_link_debug_accumulate() 4024 external_relocs = bfd_malloc (external_relocs_size); in ecoff_indirect_link_order() [all …]
|
| H A D | sparclinux.c | 230 ret = (struct linux_link_hash_table *) bfd_malloc (amt); 450 alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1); in linux_tally_symbols()
|
| H A D | bfd.c | 1748 alloc = bfd_malloc (suf - name + 1); in bfd_demangle() 1775 final = bfd_malloc (pre_len + len + suf_len); in bfd_demangle()
|
| H A D | merge.c | 241 table = bfd_malloc (sizeof (struct sec_merge_hash)); in sec_merge_init() 600 array = bfd_malloc (amt); in merge_strings()
|
| H A D | elfcode.h | 1191 xverbuf = bfd_malloc (verhdr->sh_size); in elf_slurp_symbol_table() 1364 allocated = bfd_malloc (rel_hdr->sh_size); in elf_slurp_reloc_table_from_section() 1644 x_phdrs = bfd_malloc (i_ehdr.e_phnum * (sizeof *x_phdrs + sizeof *i_phdrs)); in NAME() 1756 bim = bfd_malloc (sizeof (struct bfd_in_memory)); in NAME()
|
| H A D | ecofflink.c | 501 ainfo = (struct accumulate *) bfd_malloc (amt); 717 lookup = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 20); 1504 buff = (PTR) bfd_malloc (swap->external_hdr_size); 1641 space = (PTR) bfd_malloc (amt); 2383 buffer = (char *) bfd_malloc ((bfd_size_type) len);
|
| H A D | hash.c | 690 table = bfd_malloc (amt); in _bfd_stringtab_init()
|
| H A D | archures.c | 658 name_list = bfd_malloc (amt); in bfd_arch_list()
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | bucomm.c | 550 buf = bfd_malloc (curr); in bfd_get_archive_filename()
|