| /openbsd/src/gnu/usr.bin/binutils-2.17/bfd/ |
| D | oasys.c | 83 data->symbols = bfd_alloc (abfd, amt); in oasys_slurp_symbol_table() 90 data->strings = bfd_alloc (abfd, amt); in oasys_slurp_symbol_table() 258 ar = bfd_alloc (abfd, amt); in oasys_archive_p() 262 module = bfd_alloc (abfd, amt); in oasys_archive_p() 295 module[i].name = bfd_alloc (abfd, amt + 1); in oasys_archive_p() 319 abfd->tdata.oasys_obj_data = bfd_alloc (abfd, amt); in oasys_mkobject() 455 r = bfd_alloc (abfd, amt); in oasys_slurp_section_data() 487 r = bfd_alloc (abfd, amt); in oasys_slurp_section_data() 591 buffer = bfd_alloc (abfd, (bfd_size_type) 3); in oasys_object_p() 688 newsect->used_by_bfd = bfd_alloc (abfd, (bfd_size_type) sizeof (oasys_per_section_type)); in oasys_new_section_hook() [all …]
|
| D | mach-o.c | 642 sname = bfd_alloc (abfd, snamelen); in bfd_mach_o_make_bfd_section() 830 sym->strtab = bfd_alloc (abfd, sym->strsize); in bfd_mach_o_scan_read_symtab_strtab() 853 sym->symbols = bfd_alloc (abfd, sym->nsyms * sizeof (asymbol)); in bfd_mach_o_scan_read_symtab_symbols() 964 sname = bfd_alloc (abfd, strlen (prefix) + 1); in bfd_mach_o_scan_read_dylinker() 1020 sname = bfd_alloc (abfd, strlen (prefix) + 1); in bfd_mach_o_scan_read_dylib() 1083 cmd->flavours = bfd_alloc (abfd, nflavours * sizeof (bfd_mach_o_thread_flavour)); in bfd_mach_o_scan_read_thread() 1133 sname = bfd_alloc (abfd, snamelen); in bfd_mach_o_scan_read_thread() 1216 sname = bfd_alloc (abfd, strlen (prefix) + 1); in bfd_mach_o_scan_read_symtab() 1235 sname = bfd_alloc (abfd, strlen (prefix) + 1); in bfd_mach_o_scan_read_symtab() 1284 sname = bfd_alloc (abfd, snamelen); in bfd_mach_o_scan_read_segment() [all …]
|
| 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() 532 secname = bfd_alloc (abfd, amt); in srec_scan() 783 section->used_by_bfd = bfd_alloc (abfd, section->size); in srec_get_section_contents() 821 entry = bfd_alloc (abfd, sizeof (* entry)); in srec_set_section_contents() 831 data = bfd_alloc (abfd, bytes_to_do); in srec_set_section_contents() 1130 csymbols = bfd_alloc (abfd, symcount * sizeof (asymbol)); in srec_canonicalize_symtab()
|
| D | lynx-core.c | 70 newname = bfd_alloc (abfd, (bfd_size_type) strlen (name) + 1); 133 threadp = (core_st_t *) bfd_alloc (abfd, tcontext_size);
|
| D | ihex.c | 178 tdata = bfd_alloc (abfd, sizeof (* tdata)); in ihex_mkobject() 361 secname = bfd_alloc (abfd, amt); in ihex_scan() 639 section->used_by_bfd = bfd_alloc (abfd, section->size); in ihex_get_section_contents() 670 n = bfd_alloc (abfd, sizeof (* n)); in ihex_set_section_contents() 674 data = bfd_alloc (abfd, count); in ihex_set_section_contents()
|
| D | coff-stgo32.c | 143 bfd_coff_go32stub (abfd) = (PTR) bfd_alloc (abfd, (bfd_size_type) STUBSIZE); 364 = (PTR) bfd_alloc (abfd, (bfd_size_type) coff_start); 385 = (PTR) bfd_alloc (abfd, (bfd_size_type) STUBSIZE);
|
| D | versados.c | 151 tdata_type *tdata = bfd_alloc (abfd, amt); in versados_mkobject() 447 esdid->contents = bfd_alloc (abfd, size); in process_otr() 504 esdid->section->relocation = bfd_alloc (abfd, amt); in versados_scan() 527 VDATA (abfd)->symbols = bfd_alloc (abfd, amt); in versados_scan() 530 VDATA (abfd)->strings = bfd_alloc (abfd, amt); in versados_scan()
|
| D | stabs.c | 214 *psecinfo = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 375 ne = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 471 secinfo->cumulative_skips = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 624 secinfo->cumulative_skips = bfd_alloc (abfd, amt); in _bfd_discard_section_stabs()
|
| D | pef.c | 164 namebuf = bfd_alloc (abfd, name.name_len + 1); in bfd_pef_parse_traceback_table() 531 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)); 667 name = bfd_alloc (abfd, tbnamelen + 1); in bfd_pef_parse_traceback_tables() 839 name = bfd_alloc (abfd, strlen (sprefix) + namelen + 1); in bfd_pef_parse_function_stubs() 974 syms = bfd_alloc (abfd, nsyms * sizeof (asymbol)); in bfd_pef_canonicalize_symtab() 993 return bfd_alloc (abfd, sizeof (asymbol)); in bfd_pef_make_empty_symbol() 1111 mdata = bfd_alloc (abfd, sizeof (* mdata)); in bfd_pef_xlib_scan()
|
| 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()
|
| 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() 529 tdata = bfd_alloc (abfd, (bfd_size_type) sizeof (tdata_type)); in tekhex_mkobject()
|
| 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 …]
|
| D | som.c | 1350 final_types = bfd_alloc (abfd, (bfd_size_type) sizeof (int *) * 6); in hppa_som_gen_reloc_type() 1351 final_type = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1375 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1391 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1402 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1413 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1424 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1434 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1445 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1449 final_types[1] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() [all …]
|
| D | dwarf2.c | 334 stash->dwarf_str_buffer = bfd_alloc (abfd, sz); in read_indirect_string() 572 blk = bfd_alloc (abfd, amt); in read_attribute_value() 581 blk = bfd_alloc (abfd, amt); in read_attribute_value() 610 blk = bfd_alloc (abfd, amt); in read_attribute_value() 619 blk = bfd_alloc (abfd, amt); in read_attribute_value() 784 struct line_info* info = bfd_alloc (table->abfd, amt); in add_line_info() 794 info->filename = bfd_alloc (table->abfd, strlen (filename) + 1); in add_line_info() 986 table = bfd_alloc (abfd, amt); in decode_line_info() 1038 lh.standard_opcode_lengths = bfd_alloc (abfd, amt); in decode_line_info() 2379 stash->info_ptr = bfd_alloc (abfd, total_size); in _bfd_dwarf2_find_nearest_line() [all …]
|
| /openbsd/src/gnu/usr.bin/binutils/bfd/ |
| D | oasys.c | 154 data->symbols = (asymbol *) bfd_alloc (abfd, amt); 161 data->strings = bfd_alloc (abfd, amt); 347 ar = (oasys_ar_data_type *) bfd_alloc (abfd, amt); 351 module = (oasys_module_info_type *) bfd_alloc (abfd, amt); 383 module[i].name = bfd_alloc (abfd, (bfd_size_type) 33); 412 module[i].name = bfd_alloc (abfd, amt + 1); 436 abfd->tdata.oasys_obj_data = (oasys_data_type *) bfd_alloc (abfd, amt); 493 buffer = bfd_alloc (abfd, (bfd_size_type) 3); 728 r = (oasys_reloc_type *) bfd_alloc (abfd, 770 r = (oasys_reloc_type *) bfd_alloc (abfd, [all …]
|
| D | mach-o.c | 574 sname = (char *) bfd_alloc (abfd, snamelen); 849 sym->strtab = bfd_alloc (abfd, sym->strsize); 873 sym->symbols = bfd_alloc (abfd, sym->nsyms * sizeof (asymbol)); 1022 sname = (char *) bfd_alloc (abfd, strlen (prefix) + 1); 1080 sname = (char *) bfd_alloc (abfd, strlen (prefix) + 1); 1148 bfd_alloc (abfd, nflavours * sizeof (bfd_mach_o_thread_flavour))); 1198 sname = (char *) bfd_alloc (abfd, snamelen); 1310 sname = (char *) bfd_alloc (abfd, strlen (prefix) + 1); 1329 sname = (char *) bfd_alloc (abfd, strlen (prefix) + 1); 1380 sname = (char *) bfd_alloc (abfd, snamelen); [all …]
|
| D | lynx-core.c | 67 newname = bfd_alloc (abfd, (bfd_size_type) strlen (name) + 1); 130 threadp = (core_st_t *) bfd_alloc (abfd, tcontext_size);
|
| D | dwarf2.c | 295 stash->dwarf_str_buffer = bfd_alloc (abfd, msec->_raw_size); in read_indirect_string() 558 blk = bfd_alloc (abfd, amt); in read_attribute_value() 567 blk = bfd_alloc (abfd, amt); in read_attribute_value() 596 blk = bfd_alloc (abfd, amt); in read_attribute_value() 605 blk = bfd_alloc (abfd, amt); in read_attribute_value() 731 struct line_info* info = bfd_alloc (table->abfd, amt); in add_line_info() 806 info->filename = bfd_alloc (table->abfd, strlen (filename) + 1); in add_line_info() 943 table = bfd_alloc (abfd, amt); in decode_line_info() 995 lh.standard_opcode_lengths = bfd_alloc (abfd, amt); in decode_line_info() 1749 stash->info_ptr = bfd_alloc (abfd, total_size); in _bfd_dwarf2_find_nearest_line()
|
| D | srec.c | 239 tdata = (tdata_type *) bfd_alloc (abfd, amt); 319 n = (struct srec_symbol *) bfd_alloc (abfd, amt); 445 symname = bfd_alloc (abfd, (bfd_size_type) (p - symbuf)); 581 secname = (char *) bfd_alloc (abfd, amt); 839 section->used_by_bfd = bfd_alloc (abfd, section->_raw_size); 883 bfd_alloc (abfd, (bfd_size_type) sizeof (srec_data_list_type))); 893 data = (bfd_byte *) bfd_alloc (abfd, bytes_to_do); 1205 csymbols = (asymbol *) bfd_alloc (abfd, symcount * sizeof (asymbol));
|
| D | stabs.c | 235 *psinfo = (PTR) bfd_alloc (abfd, amt); 261 *psecinfo = bfd_alloc (abfd, amt); 434 ne = (struct stab_excl_list *) bfd_alloc (abfd, amt); 531 secinfo->cumulative_skips = (bfd_size_type *) bfd_alloc (abfd, amt); 702 secinfo->cumulative_skips = (bfd_size_type *) bfd_alloc (abfd, amt);
|
| D | coff-stgo32.c | 143 bfd_coff_go32stub (abfd) = (PTR) bfd_alloc (abfd, (bfd_size_type) STUBSIZE); 364 = (PTR) bfd_alloc (abfd, (bfd_size_type) coff_start); 385 = (PTR) bfd_alloc (abfd, (bfd_size_type) STUBSIZE);
|
| D | ihex.c | 208 tdata = (struct ihex_data_struct *) bfd_alloc (abfd, amt); 398 secname = (char *) bfd_alloc (abfd, amt); 683 section->used_by_bfd = bfd_alloc (abfd, section->_raw_size); 717 n = (struct ihex_data_list *) bfd_alloc (abfd, amt); 721 data = (bfd_byte *) bfd_alloc (abfd, count);
|
| D | dwarf1.c | 289 stash->line_section = (char *) bfd_alloc (stash->abfd, size); 327 bfd_alloc (stash->abfd, amt)); 506 stash->debug_section = (char *) bfd_alloc (abfd, size);
|
| D | versados.c | 183 tdata_type *tdata = (tdata_type *) bfd_alloc (abfd, amt); 489 esdid->contents = (unsigned char *) bfd_alloc (abfd, size); 546 esdid->section->relocation = (arelent *) bfd_alloc (abfd, amt); 569 VDATA (abfd)->symbols = (asymbol *) bfd_alloc (abfd, amt); 572 VDATA (abfd)->strings = bfd_alloc (abfd, amt);
|
| D | pef.c | 248 namebuf = (char *) bfd_alloc (abfd, name.name_len + 1); 585 bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section))); 731 name = bfd_alloc (abfd, tbnamelen + 1); 903 name = bfd_alloc (abfd, strlen (sprefix) + namelen + 1); 1042 syms = bfd_alloc (abfd, nsyms * sizeof (asymbol)); 1062 return (asymbol *) bfd_alloc (abfd, sizeof (asymbol)); 1188 bfd_alloc (abfd, sizeof (bfd_pef_xlib_data_struct)));
|