| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | srec.c | 199 tdata = bfd_alloc (abfd, sizeof (tdata_type)); in srec_mkobject() 272 n = bfd_alloc (abfd, sizeof (* n)); in srec_new_symbol() 396 symname = bfd_alloc (abfd, (bfd_size_type) (p - symbuf)); in srec_scan() 533 secname = bfd_alloc (abfd, amt); in srec_scan() 784 section->used_by_bfd = bfd_alloc (abfd, section->size); in srec_get_section_contents() 822 entry = bfd_alloc (abfd, sizeof (* entry)); in srec_set_section_contents() 832 data = bfd_alloc (abfd, bytes_to_do); in srec_set_section_contents() 1131 csymbols = bfd_alloc (abfd, symcount * sizeof (asymbol)); in srec_canonicalize_symtab()
|
| H A D | ihex.c | 178 tdata = bfd_alloc (abfd, sizeof (* tdata)); in ihex_mkobject() 362 secname = bfd_alloc (abfd, amt); in ihex_scan() 638 section->used_by_bfd = bfd_alloc (abfd, section->size); in ihex_get_section_contents() 669 n = bfd_alloc (abfd, sizeof (* n)); in ihex_set_section_contents() 673 data = bfd_alloc (abfd, count); in ihex_set_section_contents()
|
| H A D | stabs.c | 215 *psecinfo = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 376 ne = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 472 secinfo->cumulative_skips = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 625 secinfo->cumulative_skips = bfd_alloc (abfd, amt); in _bfd_discard_section_stabs()
|
| H A D | dwarf1.c | 273 stash->line_section = bfd_alloc (stash->abfd, size); in parse_line_table() 310 aUnit->linenumber_table = bfd_alloc (stash->abfd, amt); in parse_line_table() 480 stash->debug_section = bfd_alloc (abfd, size); in _bfd_dwarf1_find_nearest_line()
|
| H A D | tekhex.c | 384 char *n = bfd_alloc (abfd, (bfd_size_type) len + 1); in first_phase() 414 tekhex_symbol_type *new = bfd_alloc (abfd, amt); in first_phase() 427 new->symbol.name = bfd_alloc (abfd, (bfd_size_type) len + 1); in first_phase() 531 tdata = bfd_alloc (abfd, (bfd_size_type) sizeof (tdata_type)); in tekhex_mkobject()
|
| H A D | coffgen.c | 82 name = bfd_alloc (abfd, (bfd_size_type) strlen (strings) + 1); in make_a_section_from_file() 92 name = bfd_alloc (abfd, (bfd_size_type) sizeof (hdr->s_name) + 1); in make_a_section_from_file() 187 external_sections = bfd_alloc (abfd, readsize); in coff_real_object_p() 242 filehdr = bfd_alloc (abfd, filhsz); in coff_object_p() 275 opthdr = bfd_alloc (abfd, aoutsz); in coff_object_p() 639 newsyms = bfd_alloc (bfd_ptr, amt); in coff_renumber_symbols() 925 buf = bfd_alloc (abfd, symesz); in coff_write_symbol() 939 buf = bfd_alloc (abfd, auxesz); in coff_write_symbol() 1269 buff = bfd_alloc (abfd, linesz); in coff_write_linenumbers() 1393 debug_section = bfd_alloc (abfd, sec_size); in build_debug_section() [all …]
|
| H A D | binary.c | 145 buf = bfd_alloc (abfd, size); in mangle_name() 169 syms = bfd_alloc (abfd, amt); in binary_canonicalize_symtab()
|
| H A D | elf-attrs.c | 240 bfd_alloc (abfd, sizeof (obj_attribute_list)); in elf_new_obj_attr() 304 p = (char *) bfd_alloc (abfd, len); in _bfd_elf_attr_strdup() 329 bfd_alloc (abfd, sizeof (obj_attribute_list)); in bfd_elf_add_obj_attr_compat()
|
| H A D | dwarf2.c | 336 stash->dwarf_str_buffer = bfd_alloc (abfd, sz); in read_indirect_string() 574 blk = bfd_alloc (abfd, amt); in read_attribute_value() 583 blk = bfd_alloc (abfd, amt); in read_attribute_value() 612 blk = bfd_alloc (abfd, amt); in read_attribute_value() 621 blk = bfd_alloc (abfd, amt); in read_attribute_value() 789 struct line_info* info = bfd_alloc (table->abfd, amt); in add_line_info() 799 info->filename = bfd_alloc (table->abfd, strlen (filename) + 1); in add_line_info() 1012 table = bfd_alloc (abfd, amt); in decode_line_info() 1064 lh.standard_opcode_lengths = bfd_alloc (abfd, amt); in decode_line_info() 2431 stash->info_ptr = bfd_alloc (debug_bfd, total_size); in find_line()
|
| H A D | archive.c | 749 ardata->symdefs = bfd_alloc (abfd, amt); in do_slurp_bsd_armap() 841 raw_armap = bfd_alloc (abfd, ptrsize); in do_slurp_coff_armap() 1017 ardata->symdefs = bfd_alloc (abfd, amt); in bfd_slurp_bsd_armap_f2() 1157 copy = bfd_alloc (abfd, last - first + 1); in normalize() 1805 first_name = bfd_alloc (arch, 1); in _bfd_compute_and_write_armap() 1875 map[orl_count].name = bfd_alloc (arch, amt); in _bfd_compute_and_write_armap() 1878 *(map[orl_count].name) = bfd_alloc (arch, namelen + 1); in _bfd_compute_and_write_armap()
|
| H A D | sunos.c | 276 info->dynsym = bfd_alloc (abfd, amt); in sunos_slurp_dynamic_symtab() 295 info->dynstr = bfd_alloc (abfd, amt); in sunos_slurp_dynamic_symtab() 375 info->canonical_dynsym = bfd_alloc (abfd, size); in sunos_canonicalize_dynamic_symtab() 448 info->dynrel = bfd_alloc (abfd, size); in sunos_canonicalize_dynamic_reloc() 470 info->canonical_dynrel = bfd_alloc (abfd, size); in sunos_canonicalize_dynamic_reloc() 942 needed = bfd_alloc (abfd, alc); in sunos_add_dynamic_symbols() 1699 n = bfd_alloc (abfd, amt); in sunos_scan_relocs() 1974 s->contents = bfd_alloc (output_bfd, s->size); in bfd_sunos_size_dynamic_sections() 2039 s->contents = bfd_alloc (dynobj, s->size); in bfd_sunos_size_dynamic_sections() 2062 s->contents = bfd_alloc (dynobj, s->size); in bfd_sunos_size_dynamic_sections() [all …]
|
| H A D | syms.c | 1004 info->stabs = bfd_alloc (abfd, stabsize); in _bfd_stab_section_find_nearest_line() 1005 info->strs = bfd_alloc (abfd, strsize); in _bfd_stab_section_find_nearest_line() 1119 info->indextable = bfd_alloc (abfd, amt); in _bfd_stab_section_find_nearest_line()
|
| H A D | ieee.c | 216 string = bfd_alloc (ieee->abfd, (bfd_size_type) length + 1); in read_id() 695 new_symbol = bfd_alloc (ieee->h.abfd, amt); in get_symbol() 1075 char *tmp = bfd_alloc (abfd, (bfd_size_type) 11); in get_section_entry() 1302 abfd->tdata.ieee_ar_data = bfd_alloc (abfd, amt); in ieee_archive_p() 1384 ieee->elements = bfd_alloc (abfd, amt); in ieee_archive_p() 1494 r = bfd_alloc (ieee->h.abfd, sizeof (* r)); in do_one() 1673 per->data = bfd_alloc (ieee->h.abfd, s->size); in ieee_slurp_section_data() 1933 IEEE_DATA (abfd)->h.first_byte = bfd_alloc (ieee->h.abfd, amt); in ieee_object_p() 2019 newsect->used_by_bfd = bfd_alloc (abfd, sizeof (ieee_per_section_type)); in ieee_new_section_hook() 3204 ieee_per_section (s)->data = bfd_alloc (abfd, size); in init_for_output() [all …]
|
| H A D | opncls.c | 886 bfd_alloc (bfd *abfd, bfd_size_type size) in bfd_alloc() function 958 res = bfd_alloc (abfd, size); in bfd_zalloc() 991 res = bfd_alloc (abfd, size); in bfd_zalloc2()
|
| H A D | elfcore.h | 190 i_phdrp = bfd_alloc (abfd, amt); in elf_core_file_p()
|
| H A D | elfcode.h | 743 i_shdrp = bfd_alloc (abfd, amt); in elf_object_p() 751 elf_elfsections (abfd) = bfd_alloc (abfd, amt); in elf_object_p() 825 elf_tdata (abfd)->phdr = bfd_alloc (abfd, amt); in elf_object_p() 953 rela_hdr->contents = bfd_alloc (abfd, rela_hdr->sh_size); in elf_write_relocs() 1083 x_shdrp = bfd_alloc (abfd, amt); in elf_write_shdrs_and_ehdr() 1494 relents = bfd_alloc (abfd, amt); in elf_slurp_reloc_table()
|
| H A D | ppcboot.c | 272 buf = (char *) bfd_alloc (abfd, size); 299 syms = (asymbol *) bfd_alloc (abfd, amt);
|
| H A D | archive64.c | 103 raw_armap = bfd_alloc (abfd, ptrsize); in bfd_elf64_archive_slurp_armap()
|
| H A D | coff-rs6000.c | 1172 contents = (bfd_byte *) bfd_alloc (abfd, sz); 1188 ((carsym *) bfd_alloc (abfd, c * sizeof (carsym))); 1230 contents = (bfd_byte *) bfd_alloc (abfd, sz); 1246 ((carsym *) bfd_alloc (abfd, c * sizeof (carsym))); 1394 ret = (struct areltdata *) bfd_alloc (abfd, amt); 1412 hdrp = (struct xcoff_ar_hdr *) bfd_alloc (abfd, amt); 1444 hdrp = (struct xcoff_ar_hdr_big *) bfd_alloc (abfd, amt); 2108 offsets = (file_ptr *) bfd_alloc (abfd, count * sizeof (file_ptr)); 2163 sub->arelt_data = bfd_alloc (sub, size); 2399 current_bfd->arelt_data = bfd_alloc (current_bfd, size);
|
| H A D | elf64-sparc.c | 187 asect->relocation = (arelent *) bfd_alloc (abfd, amt); in elf64_sparc_slurp_reloc_table() 330 rela_hdr->contents = (PTR) bfd_alloc (abfd, rela_hdr->sh_size); in elf64_sparc_write_relocs()
|
| H A D | merge.c | 396 sinfo = bfd_alloc (abfd, sizeof (struct sec_merge_info)); in _bfd_add_merge_section() 410 *psecinfo = bfd_alloc (abfd, amt); in _bfd_add_merge_section()
|
| H A D | ecoff.c | 558 raw = bfd_alloc (abfd, raw_size); in _bfd_ecoff_slurp_symbolic_info() 605 debug->fdr = bfd_alloc (abfd, amt); in _bfd_ecoff_slurp_symbolic_info() 873 internal = bfd_alloc (abfd, internal_size); in _bfd_ecoff_slurp_symbol_table() 1571 internal_relocs = bfd_alloc (abfd, amt); in ecoff_slurp_reloc_table() 1575 external_relocs = bfd_alloc (abfd, amt); in ecoff_slurp_reloc_table() 2629 reloc_buff = bfd_alloc (abfd, amt); in _bfd_ecoff_write_object_contents() 2899 raw_armap = bfd_alloc (abfd, parsed_size); in _bfd_ecoff_slurp_armap() 2966 symdef_ptr = bfd_alloc (abfd, amt); in _bfd_ecoff_slurp_armap() 3343 sym_hash = bfd_alloc (abfd, amt); in ecoff_link_add_externals()
|
| H A D | coffcode.h | 961 = bfd_alloc (abfd, amt); in handle_COMDAT() 969 newname = bfd_alloc (abfd, amt); in handle_COMDAT() 4222 void * area = bfd_alloc (abfd, size); in buy_and_read() 4273 lineno_cache = bfd_alloc (abfd, amt); in coff_slurp_line_table() 4359 cached_area = bfd_alloc (abfd, amt); in coff_slurp_symbol_table() 4365 table_ptr = bfd_alloc (abfd, amt); in coff_slurp_symbol_table() 4857 reloc_cache = bfd_alloc (abfd, amt); in coff_slurp_reloc_table()
|
| H A D | elf.c | 1792 l = bfd_alloc (abfd, amt); in bfd_elf_get_bfd_needed_list() 2130 hdr2 = bfd_alloc (abfd, amt); in bfd_section_from_shdr() 2616 name = bfd_alloc (abfd, len); in _bfd_elf_make_section_from_phdr() 2649 name = bfd_alloc (abfd, len); in _bfd_elf_make_section_from_phdr() 2735 name = bfd_alloc (abfd, amt); in _bfd_elf_init_reloc_shdr() 5781 map = bfd_alloc (obfd, amt); in rewrite_elf_program_header() 7677 dups = bfd_alloc (abfd, len + 1); in _bfd_elfcore_strndup() 7807 name = bfd_alloc (abfd, len); in elfcore_grok_lwpstatus() 7836 name = bfd_alloc (abfd, len); in elfcore_grok_lwpstatus() 7890 name = bfd_alloc (abfd, len); in elfcore_grok_win32pstatus() [all …]
|
| H A D | coff-alpha.c | 1412 symndx_to_section = (asection **) bfd_alloc (input_bfd, amt); 2162 buf = (bfd_byte *) bfd_alloc (nbfd, size); 2216 bfd_alloc (nbfd, (bfd_size_type) sizeof (struct bfd_in_memory)));
|