Lines Matching refs:amt
87 bfd_size_type amt = sizeof (ecoff_data_type); in _bfd_ecoff_mkobject() local
89 abfd->tdata.ecoff_obj_data = (struct ecoff_tdata *) bfd_zalloc (abfd, amt); in _bfd_ecoff_mkobject()
507 bfd_size_type amt; in _bfd_ecoff_slurp_symbolic_info() local
610 amt = internal_symhdr->ifdMax; in _bfd_ecoff_slurp_symbolic_info()
611 amt *= sizeof (struct fdr); in _bfd_ecoff_slurp_symbolic_info()
612 debug->fdr = (FDR *) bfd_alloc (abfd, amt); in _bfd_ecoff_slurp_symbolic_info()
643 bfd_size_type amt = sizeof (ecoff_symbol_type); in _bfd_ecoff_make_empty_symbol() local
645 new_symbol = (ecoff_symbol_type *) bfd_zalloc (abfd, amt); in _bfd_ecoff_make_empty_symbol()
1563 bfd_size_type amt; in ecoff_slurp_reloc_table() local
1576 amt = section->reloc_count; in ecoff_slurp_reloc_table()
1577 amt *= sizeof (arelent); in ecoff_slurp_reloc_table()
1578 internal_relocs = (arelent *) bfd_alloc (abfd, amt); in ecoff_slurp_reloc_table()
1581 amt = external_reloc_size * section->reloc_count; in ecoff_slurp_reloc_table()
1582 external_relocs = (char *) bfd_alloc (abfd, amt); in ecoff_slurp_reloc_table()
1587 if (bfd_bread (external_relocs, amt, abfd) != amt) in ecoff_slurp_reloc_table()
1727 bfd_size_type amt = sizeof (struct ecoff_find_line); in _bfd_ecoff_find_nearest_line() local
1730 (struct ecoff_find_line *) bfd_zalloc (abfd, amt); in _bfd_ecoff_find_nearest_line()
1949 bfd_size_type amt; in ecoff_compute_section_file_positions() local
1955 amt = abfd->section_count; in ecoff_compute_section_file_positions()
1956 amt *= sizeof (asection *); in ecoff_compute_section_file_positions()
1957 sorted_hdrs = (asection **) bfd_malloc (amt); in ecoff_compute_section_file_positions()
2634 bfd_size_type amt; in _bfd_ecoff_write_object_contents() local
2639 amt = current->reloc_count * external_reloc_size; in _bfd_ecoff_write_object_contents()
2640 reloc_buff = bfd_alloc (abfd, amt); in _bfd_ecoff_write_object_contents()
2724 amt = current->reloc_count * external_reloc_size; in _bfd_ecoff_write_object_contents()
2725 if (bfd_bwrite (reloc_buff, amt, abfd) != amt) in _bfd_ecoff_write_object_contents()
2858 bfd_size_type amt; in _bfd_ecoff_slurp_armap() local
2975 amt = ardata->symdef_count; in _bfd_ecoff_slurp_armap()
2976 amt *= sizeof (carsym); in _bfd_ecoff_slurp_armap()
2977 symdef_ptr = (carsym *) bfd_alloc (abfd, amt); in _bfd_ecoff_slurp_armap()
3212 bfd_size_type amt = sizeof (struct ecoff_link_hash_table); in _bfd_ecoff_bfd_link_hash_table_create() local
3214 ret = (struct ecoff_link_hash_table *) bfd_malloc (amt); in _bfd_ecoff_bfd_link_hash_table_create()
3258 bfd_size_type amt; in ecoff_link_add_externals() local
3262 amt = ext_count; in ecoff_link_add_externals()
3263 amt *= sizeof (struct bfd_link_hash_entry *); in ecoff_link_add_externals()
3264 sym_hash = (struct bfd_link_hash_entry **) bfd_alloc (abfd, amt); in ecoff_link_add_externals()
3732 bfd_size_type amt = (bfd_size_type) size * symhdr->count; \ in ecoff_final_link_debug_accumulate()
3733 debug->ptr = (type) bfd_malloc (amt); \ in ecoff_final_link_debug_accumulate()
3740 || bfd_bread (debug->ptr, amt, input_bfd) != amt) \ in ecoff_final_link_debug_accumulate()