/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | coff-stgo32.c | 123 coff_data (abfd)->stub = bfd_alloc (abfd, in go32exe_create_stub() 185 coff_data (abfd)->stub = bfd_alloc (abfd, (bfd_size_type) coff_start); in go32exe_create_stub() 208 = bfd_alloc (abfd, (bfd_size_type) GO32EXE_DEFAULT_STUB_SIZE); in go32exe_create_stub() 232 coff_data (obfd)->stub = bfd_alloc (obfd, coff_data (ibfd)->stub_size); in go32exe_copy_private_bfd_data()
|
H A D | srec.c | 199 tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in srec_mkobject() 273 n = (struct srec_symbol *) bfd_alloc (abfd, sizeof (* n)); in srec_new_symbol() 397 symname = (char *) bfd_alloc (abfd, (bfd_size_type) (p - symbuf)); in srec_scan() 557 secname = (char *) bfd_alloc (abfd, amt); in srec_scan() 843 section->used_by_bfd = bfd_alloc (abfd, section->size); in srec_get_section_contents() 883 entry = (srec_data_list_type *) bfd_alloc (abfd, sizeof (* entry)); in srec_set_section_contents() 893 data = (bfd_byte *) bfd_alloc (abfd, bytes_to_do); in srec_set_section_contents() 1191 csymbols = (asymbol *) bfd_alloc (abfd, symcount * sizeof (asymbol)); in srec_canonicalize_symtab()
|
H A D | ihex.c | 179 tdata = (struct ihex_data_struct *) bfd_alloc (abfd, sizeof (* tdata)); in ihex_mkobject() 365 secname = (char *) bfd_alloc (abfd, amt); in ihex_scan() 638 section->used_by_bfd = bfd_alloc (abfd, section->size); in ihex_get_section_contents() 670 n = (struct ihex_data_list *) bfd_alloc (abfd, sizeof (* n)); in ihex_set_section_contents() 674 data = (bfd_byte *) bfd_alloc (abfd, count); in ihex_set_section_contents()
|
H A D | verilog.c | 124 entry = (verilog_data_list_type *) bfd_alloc (abfd, sizeof (* entry)); in verilog_set_section_contents() 134 data = (bfd_byte *) bfd_alloc (abfd, bytes_to_do); in verilog_set_section_contents() 370 tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in verilog_mkobject()
|
H A D | vms-lib.c | 343 name = bfd_alloc (abfd, keylen + 1); in vms_traverse_index() 379 name = bfd_alloc (abfd, keylen + 1); in vms_traverse_index() 460 csm.idx = csbuf = bfd_alloc (abfd, amt); in vms_lib_read_index() 481 csbuf = bfd_alloc (abfd, csm.nbr * sizeof (struct carsym)); in vms_lib_read_index() 624 tdata->dcxsbm = (struct dcxsbm_desc *)bfd_alloc in _bfd_vms_lib_archive_p() 658 sbmdesc->flags = (unsigned char *)bfd_alloc (abfd, l); in _bfd_vms_lib_archive_p() 664 sbmdesc->nodes = (unsigned char *)bfd_alloc (abfd, 2 * sbm_len); in _bfd_vms_lib_archive_p() 677 sbmdesc->next = (unsigned short *) bfd_alloc (abfd, 2 * sbm_len); in _bfd_vms_lib_archive_p() 1087 vec->dcx_buf = bfd_alloc (abfd, vec->dcx_max); in vms_lib_bread() 1355 vec->dcx_buf = bfd_alloc (el, vec->dcx_max); in vms_lib_bopen() [all …]
|
H A D | stabs.c | 245 *psecinfo = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 407 ne = (struct stab_excl_list *) bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 505 secinfo->cumulative_skips = (bfd_size_type *) bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 665 secinfo->cumulative_skips = (bfd_size_type *) bfd_alloc (abfd, amt); in _bfd_discard_section_stabs()
|
H A D | wasm-module.c | 317 symbols = bfd_alloc (abfd, amt); in wasm_scan_name_function_section() 334 name = bfd_alloc (abfd, len + 1); in wasm_scan_name_function_section() 445 name = bfd_alloc (abfd, namelen + prefixlen + 1); in wasm_scan() 669 tdata_type *tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in wasm_mkobject()
|
H A D | pef.c | 175 namebuf = bfd_alloc (abfd, name.name_len + 1); in bfd_pef_parse_traceback_table() 544 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)); in bfd_pef_scan() 673 name = bfd_alloc (abfd, tbnamelen + 1); in bfd_pef_parse_traceback_tables() 845 name = bfd_alloc (abfd, strlen (sprefix) + namelen + 1); in bfd_pef_parse_function_stubs() 972 syms = bfd_alloc (abfd, nsyms * sizeof (asymbol)); in bfd_pef_canonicalize_symtab() 1107 mdata = bfd_alloc (abfd, sizeof (* mdata)); in bfd_pef_xlib_scan()
|
H A D | tekhex.c | 393 char *n = (char *) bfd_alloc (abfd, (bfd_size_type) len + 1); in first_phase() 433 bfd_alloc (abfd, amt); in first_phase() 447 bfd_alloc (abfd, (bfd_size_type) len + 1); in first_phase() 589 tdata = (tdata_type *) bfd_alloc (abfd, (bfd_size_type) sizeof (tdata_type)); in tekhex_mkobject()
|
H A D | binary.c | 132 buf = (char *) bfd_alloc (abfd, size); in mangle_name() 156 syms = (asymbol *) bfd_alloc (abfd, amt); in binary_canonicalize_symtab()
|
H A D | elfcore.h | 230 i_phdrp = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt); in elf_core_file_p() 366 i_phdr = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt); in NAME()
|
H A D | som.c | 1305 final_types = bfd_alloc (abfd, (bfd_size_type) sizeof (int *) * 6); in hppa_som_gen_reloc_type() 1306 final_type = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1330 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1346 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1357 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1368 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1379 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1389 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1400 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1404 final_types[1] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() [all …]
|
H A D | archive.c | 663 filename = (char *) bfd_alloc (arch, prefix_len + strlen (elt_name) + 1); in _bfd_append_relative_path() 1044 ardata->symdefs = (struct carsym *) bfd_alloc (abfd, amt); in do_slurp_bsd_armap() 1144 ardata->symdefs = (struct carsym *) bfd_alloc (abfd, in do_slurp_coff_armap() 1307 bfd_ardata (abfd)->extended_names = (char *) bfd_alloc (abfd, amt + 1); in _bfd_slurp_extended_name_table() 1387 copy = bfd_alloc (abfd, last - first + 1); in normalize() 1676 *tabloc = (char *) bfd_alloc (abfd, total_namelen); in _bfd_construct_extended_name_table() 2351 first_name = (char *) bfd_alloc (arch, 1); in _bfd_compute_and_write_armap() 2442 map[orl_count].name = (char **) bfd_alloc (arch, amt); in _bfd_compute_and_write_armap() 2445 *(map[orl_count].name) = (char *) bfd_alloc (arch, in _bfd_compute_and_write_armap()
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | coff-stgo32.c | 123 coff_data (abfd)->stub = bfd_alloc (abfd, in go32exe_create_stub() 185 coff_data (abfd)->stub = bfd_alloc (abfd, (bfd_size_type) coff_start); in go32exe_create_stub() 208 = bfd_alloc (abfd, (bfd_size_type) GO32EXE_DEFAULT_STUB_SIZE); in go32exe_create_stub() 232 coff_data (obfd)->stub = bfd_alloc (obfd, coff_data (ibfd)->stub_size); in go32exe_copy_private_bfd_data()
|
H A D | srec.c | 199 tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in srec_mkobject() 273 n = (struct srec_symbol *) bfd_alloc (abfd, sizeof (* n)); in srec_new_symbol() 397 symname = (char *) bfd_alloc (abfd, (bfd_size_type) (p - symbuf)); in srec_scan() 557 secname = (char *) bfd_alloc (abfd, amt); in srec_scan() 843 section->used_by_bfd = bfd_alloc (abfd, section->size); in srec_get_section_contents() 883 entry = (srec_data_list_type *) bfd_alloc (abfd, sizeof (* entry)); in srec_set_section_contents() 893 data = (bfd_byte *) bfd_alloc (abfd, bytes_to_do); in srec_set_section_contents() 1198 csymbols = (asymbol *) bfd_alloc (abfd, symcount * sizeof (asymbol)); in srec_canonicalize_symtab()
|
H A D | verilog.c | 120 entry = (verilog_data_list_type *) bfd_alloc (abfd, sizeof (* entry)); in verilog_set_section_contents() 130 data = (bfd_byte *) bfd_alloc (abfd, bytes_to_do); in verilog_set_section_contents() 355 tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in verilog_mkobject()
|
H A D | ihex.c | 179 tdata = (struct ihex_data_struct *) bfd_alloc (abfd, sizeof (* tdata)); in ihex_mkobject() 365 secname = (char *) bfd_alloc (abfd, amt); in ihex_scan() 638 section->used_by_bfd = bfd_alloc (abfd, section->size); in ihex_get_section_contents() 670 n = (struct ihex_data_list *) bfd_alloc (abfd, sizeof (* n)); in ihex_set_section_contents() 674 data = (bfd_byte *) bfd_alloc (abfd, count); in ihex_set_section_contents()
|
H A D | vms-lib.c | 343 name = bfd_alloc (abfd, keylen + 1); in vms_traverse_index() 379 name = bfd_alloc (abfd, keylen + 1); in vms_traverse_index() 460 csm.idx = csbuf = bfd_alloc (abfd, amt); in vms_lib_read_index() 481 csbuf = bfd_alloc (abfd, csm.nbr * sizeof (struct carsym)); in vms_lib_read_index() 621 tdata->dcxsbm = (struct dcxsbm_desc *)bfd_alloc in _bfd_vms_lib_archive_p() 655 sbmdesc->flags = (unsigned char *)bfd_alloc (abfd, l); in _bfd_vms_lib_archive_p() 661 sbmdesc->nodes = (unsigned char *)bfd_alloc (abfd, 2 * sbm_len); in _bfd_vms_lib_archive_p() 674 sbmdesc->next = (unsigned short *) bfd_alloc (abfd, 2 * sbm_len); in _bfd_vms_lib_archive_p() 1084 vec->dcx_buf = bfd_alloc (abfd, vec->dcx_max); in vms_lib_bread() 1352 vec->dcx_buf = bfd_alloc (el, vec->dcx_max); in vms_lib_bopen() [all …]
|
H A D | stabs.c | 216 *psecinfo = bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 378 ne = (struct stab_excl_list *) bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 476 secinfo->cumulative_skips = (bfd_size_type *) bfd_alloc (abfd, amt); in _bfd_link_section_stabs() 627 secinfo->cumulative_skips = (bfd_size_type *) bfd_alloc (abfd, amt); in _bfd_discard_section_stabs()
|
H A D | wasm-module.c | 317 symbols = bfd_alloc (abfd, amt); in wasm_scan_name_function_section() 334 name = bfd_alloc (abfd, len + 1); in wasm_scan_name_function_section() 444 name = bfd_alloc (abfd, namelen + prefixlen + 1); in wasm_scan() 669 tdata_type *tdata = (tdata_type *) bfd_alloc (abfd, sizeof (tdata_type)); in wasm_mkobject()
|
H A D | pef.c | 174 namebuf = bfd_alloc (abfd, name.name_len + 1); in bfd_pef_parse_traceback_table() 543 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)); in bfd_pef_scan() 673 name = bfd_alloc (abfd, tbnamelen + 1); in bfd_pef_parse_traceback_tables() 843 name = bfd_alloc (abfd, strlen (sprefix) + namelen + 1); in bfd_pef_parse_function_stubs() 970 syms = bfd_alloc (abfd, nsyms * sizeof (asymbol)); in bfd_pef_canonicalize_symtab() 1106 mdata = bfd_alloc (abfd, sizeof (* mdata)); in bfd_pef_xlib_scan()
|
H A D | tekhex.c | 393 char *n = (char *) bfd_alloc (abfd, (bfd_size_type) len + 1); in first_phase() 433 bfd_alloc (abfd, amt); in first_phase() 447 bfd_alloc (abfd, (bfd_size_type) len + 1); in first_phase() 589 tdata = (tdata_type *) bfd_alloc (abfd, (bfd_size_type) sizeof (tdata_type)); in tekhex_mkobject()
|
H A D | binary.c | 132 buf = (char *) bfd_alloc (abfd, size); in mangle_name() 156 syms = (asymbol *) bfd_alloc (abfd, amt); in binary_canonicalize_symtab()
|
H A D | elfcore.h | 230 i_phdrp = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt); in elf_core_file_p() 366 i_phdr = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt); in NAME()
|
H A D | som.c | 1304 final_types = bfd_alloc (abfd, (bfd_size_type) sizeof (int *) * 6); in hppa_som_gen_reloc_type() 1305 final_type = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1329 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1345 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1356 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1367 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1378 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1388 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1399 final_types[0] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() 1403 final_types[1] = bfd_alloc (abfd, (bfd_size_type) sizeof (int)); in hppa_som_gen_reloc_type() [all …]
|