Lines Matching refs:amt
181 bfd_size_type amt = sizeof (struct ppc_coff_link_hash_table); in ppc_coff_link_hash_table_create() local
183 ret = (struct ppc_coff_link_hash_table *) bfd_malloc (amt); in ppc_coff_link_hash_table_create()
773 bfd_size_type amt = sizeof (struct list_ele); in record_toc() local
774 struct list_ele *t = (struct list_ele *) bfd_malloc (amt); in record_toc()
824 bfd_size_type amt; in ppc_record_toc_entry() local
827 amt = (bfd_size_type) obj_raw_syment_count (abfd) * sizeof (int); in ppc_record_toc_entry()
828 local_syms = (int *) bfd_zalloc (abfd, amt); in ppc_record_toc_entry()
1513 bfd_size_type amt; in ppc_allocate_toc_section() local
1528 amt = global_toc_size; in ppc_allocate_toc_section()
1529 foo = (bfd_byte *) bfd_alloc (bfd_of_toc_owner, amt); in ppc_allocate_toc_section()
1978 bfd_size_type amt; in ppc_bfd_coff_final_link() local
2081 amt = abfd->section_count + 1; in ppc_bfd_coff_final_link()
2082 amt *= sizeof (struct coff_link_section_info); in ppc_bfd_coff_final_link()
2083 flaginfo.section_info = (struct coff_link_section_info *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2127 amt = o->reloc_count; in ppc_bfd_coff_final_link()
2128 amt *= sizeof (struct internal_reloc); in ppc_bfd_coff_final_link()
2130 (struct internal_reloc *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2131 amt = o->reloc_count; in ppc_bfd_coff_final_link()
2132 amt *= sizeof (struct coff_link_hash_entry *); in ppc_bfd_coff_final_link()
2134 (struct coff_link_hash_entry **) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2166 amt = max_sym_count * sizeof (struct internal_syment); in ppc_bfd_coff_final_link()
2167 flaginfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2168 amt = max_sym_count * sizeof (asection *); in ppc_bfd_coff_final_link()
2169 flaginfo.sec_ptrs = (asection **) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2170 amt = max_sym_count * sizeof (long); in ppc_bfd_coff_final_link()
2171 flaginfo.sym_indices = (long *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2172 amt = (max_sym_count + 1) * symesz; in ppc_bfd_coff_final_link()
2173 flaginfo.outsyms = (bfd_byte *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2174 amt = max_lineno_count * bfd_coff_linesz (abfd); in ppc_bfd_coff_final_link()
2175 flaginfo.linenos = (bfd_byte *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2180 amt = max_reloc_count * sizeof (struct internal_reloc); in ppc_bfd_coff_final_link()
2181 flaginfo.internal_relocs = (struct internal_reloc *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2329 amt = max_output_reloc_count * relsz; in ppc_bfd_coff_final_link()
2330 external_relocs = (bfd_byte *) bfd_malloc (amt); in ppc_bfd_coff_final_link()
2358 amt = relsz * o->reloc_count; in ppc_bfd_coff_final_link()
2360 || bfd_bwrite (external_relocs, amt, abfd) != amt) in ppc_bfd_coff_final_link()