| /freebsd-10-stable/contrib/binutils/bfd/ |
| D | archive64.c | 185 if (bfd_bwrite (&hdr, sizeof (struct ar_hdr), arch) in bfd_elf64_archive_write_armap() 190 if (bfd_bwrite (buf, 8, arch) != 8) in bfd_elf64_archive_write_armap() 209 if (bfd_bwrite (buf, 8, arch) != 8) in bfd_elf64_archive_write_armap() 226 if (bfd_bwrite (*map[count].name, len, arch) != len) in bfd_elf64_archive_write_armap() 234 if (bfd_bwrite ("", 1, arch) != 1) in bfd_elf64_archive_write_armap()
|
| D | archive.c | 1682 wrote = bfd_bwrite (ARMAG, SARMAG, arch); in _bfd_write_archive_contents() 1702 if ((bfd_bwrite (&hdr, sizeof (struct ar_hdr), arch) in _bfd_write_archive_contents() 1704 || bfd_bwrite (etable, elength, arch) != elength) in _bfd_write_archive_contents() 1708 if (bfd_bwrite ("\012", 1, arch) != 1) in _bfd_write_archive_contents() 1722 if (bfd_bwrite (hdr, sizeof (*hdr), arch) in _bfd_write_archive_contents() 1739 if (bfd_bwrite (buffer, amt, arch) != amt) in _bfd_write_archive_contents() 1745 if (bfd_bwrite ("\012", 1, arch) != 1) in _bfd_write_archive_contents() 1957 if (bfd_bwrite (&hdr, sizeof (struct ar_hdr), arch) in bsd_write_armap() 1961 if (bfd_bwrite (temp, sizeof (temp), arch) != sizeof (temp)) in bsd_write_armap() 1982 if (bfd_bwrite (buf, BSD_SYMDEF_SIZE, arch) in bsd_write_armap() [all …]
|
| D | coff-rs6000.c | 1621 if (bfd_bwrite ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR, abfd) 1623 || (bfd_bwrite (XCOFFARFMAG, (bfd_size_type) SXCOFFARFMAG, abfd) 1628 if (bfd_bwrite (buf, (bfd_size_type) 4, abfd) != 4) 1641 if (bfd_bwrite (buf, (bfd_size_type) 4, abfd) != 4) 1662 if (bfd_bwrite (name, (bfd_size_type) (namlen + 1), abfd) != namlen + 1) 1671 if (bfd_bwrite (&b, (bfd_size_type) 1, abfd) != 1) 1716 if (bfd_bwrite (&b, (bfd_size_type) 1, abfd) != 1) 1738 || bfd_bwrite (buffer, DEFAULT_BUFFERSIZE, out_bfd) != DEFAULT_BUFFERSIZE) 1747 || bfd_bwrite (buffer, remaining, out_bfd) != remaining) 1953 bfd_bwrite (symbol_table, symbol_table_size, abfd); [all …]
|
| D | srec.c | 940 return bfd_bwrite ((void *) buffer, wrlen, abfd) == wrlen; in srec_write_record() 1020 if (bfd_bwrite ("$$ ", (bfd_size_type) 3, abfd) != 3 in srec_write_symbols() 1021 || bfd_bwrite (abfd->filename, len, abfd) != len in srec_write_symbols() 1022 || bfd_bwrite ("\r\n", (bfd_size_type) 2, abfd) != 2) in srec_write_symbols() 1035 if (bfd_bwrite (" ", (bfd_size_type) 2, abfd) != 2 in srec_write_symbols() 1036 || bfd_bwrite (s->name, len, abfd) != len) in srec_write_symbols() 1051 if (bfd_bwrite (p, len, abfd) != len) in srec_write_symbols() 1055 if (bfd_bwrite ("$$ \r\n", (bfd_size_type) 5, abfd) != 5) in srec_write_symbols()
|
| D | elf-strtab.c | 235 if (bfd_bwrite ("", 1, abfd) != 1) in _bfd_elf_strtab_emit() 249 if (bfd_bwrite (str, len, abfd) != len) in _bfd_elf_strtab_emit()
|
| D | ecofflink.c | 1509 if (bfd_bwrite (buff, swap->external_hdr_size, abfd) 1543 if (bfd_bwrite ((PTR) debug->ptr, (bfd_size_type) size * symhdr->count, abfd)\ 1585 if (bfd_bwrite (l->u.memory, (bfd_size_type) l->size, abfd) 1594 || bfd_bwrite (space, (bfd_size_type) l->size, abfd) != l->size) 1610 if (bfd_bwrite ((PTR) s, (bfd_size_type) i, abfd) != i) 1668 if (bfd_bwrite ((PTR) &null, (bfd_size_type) 1, abfd) != 1) 1680 if (bfd_bwrite ((PTR) sh->root.string, amt, abfd) != amt) 1695 if (bfd_bwrite ((PTR) s, (bfd_size_type) i, abfd) != i) 1707 if (bfd_bwrite (debug->ssext, amt, abfd) != amt) 1720 if (bfd_bwrite ((PTR) s, (bfd_size_type) i, abfd) != i) [all …]
|
| D | bfd-in.h | 506 extern bfd_size_type bfd_bwrite (const void *, bfd_size_type, bfd *); 519 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD))) 526 bfd_bwrite ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
|
| D | tekhex.c | 745 if (bfd_bwrite (front, (bfd_size_type) 6, abfd) != 6) in out() 749 if (bfd_bwrite (start, wrlen, abfd) != wrlen) in out() 863 if (bfd_bwrite ("%0781010\n", (bfd_size_type) 9, abfd) != 9) in tekhex_write_object_contents()
|
| D | coffgen.c | 929 if (bfd_bwrite (buf, symesz, abfd) != symesz) in coff_write_symbol() 949 if (bfd_bwrite (buf, auxesz, abfd) != auxesz) in coff_write_symbol() 1156 if (bfd_bwrite ((void *) buffer, (bfd_size_type) sizeof (buffer), abfd) in coff_write_symbols() 1173 if (bfd_bwrite (o->name, (bfd_size_type) (len + 1), abfd) in coff_write_symbols() 1213 if (bfd_bwrite (".file", (bfd_size_type) 6, abfd) != 6) in coff_write_symbols() 1223 if (bfd_bwrite ((void *) (q->name), (bfd_size_type) name_length + 1, in coff_write_symbols() 1242 if (bfd_bwrite ((void *) buffer, (bfd_size_type) STRING_SIZE_SIZE, abfd) in coff_write_symbols() 1296 if (bfd_bwrite (buff, (bfd_size_type) linesz, abfd) in coff_write_linenumbers() 1305 if (bfd_bwrite (buff, (bfd_size_type) linesz, abfd) in coff_write_linenumbers()
|
| D | hash.c | 823 if (bfd_bwrite ((void *) buf, (bfd_size_type) 2, abfd) != 2) in _bfd_stringtab_emit() 827 if (bfd_bwrite ((void *) str, (bfd_size_type) len, abfd) != len) in _bfd_stringtab_emit()
|
| D | coff64-rs6000.c | 889 || bfd_bwrite ((PTR) (&buff), amount, abfd) != amount) 1071 amount = bfd_bwrite ((PTR) buff, amount, abfd); 1089 amount = bfd_bwrite ((PTR) buff, amount, abfd); 2490 bfd_bwrite (filehdr_ext, FILHSZ, abfd); 2494 bfd_bwrite (scnhdr_ext, 3 * SCNHSZ, abfd); 2495 bfd_bwrite (data_buffer, data_buffer_size, abfd); 2496 bfd_bwrite (reloc_ext, data_scnhdr.s_nreloc * RELSZ, abfd); 2497 bfd_bwrite (syment_ext, filehdr.f_nsyms * SYMESZ, abfd); 2498 bfd_bwrite (string_table, string_table_size, abfd);
|
| D | cofflink.c | 978 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz) in _bfd_coff_final_link() 1055 if (bfd_bwrite (excount, relsz, abfd) != relsz) in _bfd_coff_final_link() 1060 if (bfd_bwrite (external_relocs, in _bfd_coff_final_link() 1110 if (bfd_bwrite (strbuf, (bfd_size_type) STRING_SIZE_SIZE, abfd) in _bfd_coff_final_link() 1836 || bfd_bwrite (outsym, osymesz, output_bfd) != osymesz) in _bfd_coff_link_input_bfd() 2075 || (bfd_bwrite (outsym, osymesz, output_bfd) in _bfd_coff_link_input_bfd() 2231 || bfd_bwrite (finfo->linenos, amt, output_bfd) != amt) in _bfd_coff_link_input_bfd() 2261 || bfd_bwrite (finfo->outsyms, amt, output_bfd) != amt) in _bfd_coff_link_input_bfd() 2581 || bfd_bwrite (finfo->outsyms, symesz, output_bfd) != symesz) in _bfd_coff_write_global_sym() 2648 if (bfd_bwrite (finfo->outsyms, symesz, output_bfd) != symesz) in _bfd_coff_write_global_sym()
|
| D | coffcode.h | 2476 if (bfd_bwrite (& dst, (bfd_size_type) bfd_coff_relsz (abfd), in coff_write_relocs() 2565 if (bfd_bwrite (& dst, (bfd_size_type) bfd_coff_relsz (abfd), in coff_write_relocs() 3260 || bfd_bwrite (&b, (bfd_size_type) 1, abfd) != 1) in coff_compute_section_file_positions() 3346 bfd_bwrite (&checksum, (bfd_size_type) 4, abfd); in coff_apply_checksum() 3358 bfd_bwrite (&checksum, (bfd_size_type) 4, abfd); in coff_apply_checksum() 3603 || bfd_bwrite (& buff, amt, abfd) != amt) in coff_write_object_contents() 3727 || bfd_bwrite (& buff, amt, abfd) != amt) in coff_write_object_contents() 3972 || bfd_bwrite (&b, (bfd_size_type) 1, abfd) != 1) in coff_write_object_contents() 4103 amount = bfd_bwrite (buff, amount, abfd); in coff_write_object_contents() 4123 amount = bfd_bwrite (buff, amount, abfd); in coff_write_object_contents() [all …]
|
| D | merge.c | 312 if (bfd_bwrite (pad, len, abfd) != len) in sec_merge_emit() 320 if (bfd_bwrite (str, len, abfd) != len) in sec_merge_emit() 329 && bfd_bwrite (pad, off, abfd) != off) in sec_merge_emit()
|
| D | ecoff.c | 2168 || bfd_bwrite (location, count, abfd) != count) in _bfd_ecoff_set_section_contents() 2444 || bfd_bwrite (buff, scnhsz, abfd) != scnhsz) in _bfd_ecoff_write_object_contents() 2593 if (bfd_bwrite (buff, filhsz, abfd) != filhsz) in _bfd_ecoff_write_object_contents() 2597 if (bfd_bwrite (buff, aoutsz, abfd) != aoutsz) in _bfd_ecoff_write_object_contents() 2714 if (bfd_bwrite (reloc_buff, amt, abfd) != amt) in _bfd_ecoff_write_object_contents() 2748 if (bfd_bwrite (&c, (bfd_size_type) 1, abfd) != 1) in _bfd_ecoff_write_object_contents() 3074 if (bfd_bwrite ((void *) &hdr, (bfd_size_type) sizeof (struct ar_hdr), abfd) in _bfd_ecoff_write_armap() 3079 if (bfd_bwrite ((void *) temp, (bfd_size_type) 4, abfd) != 4) in _bfd_ecoff_write_armap() 3128 if (bfd_bwrite ((void *) hashtable, symdefsize, abfd) != symdefsize) in _bfd_ecoff_write_armap() 3135 if (bfd_bwrite ((void *) temp, (bfd_size_type) 4, abfd) != 4) in _bfd_ecoff_write_armap() [all …]
|
| D | ieee.c | 65 if (bfd_bwrite ((void *) &byte, (bfd_size_type) 1, abfd) != 1) in ieee_write_byte() 77 if (bfd_bwrite ((void *) buffer, (bfd_size_type) 2, abfd) != 2) in ieee_write_2bytes() 163 if (bfd_bwrite ((void *) id, (bfd_size_type) length, abfd) != length) in ieee_write_id() 336 if (bfd_bwrite ((void *) b, (bfd_size_type) 5, abfd) != 5) in ieee_write_int5_out() 2247 if (bfd_bwrite ((void *) (stream + current_byte_index), run, abfd) in do_with_relocs() 2291 if (bfd_bwrite ((void *) (stream + current_byte_index), run, abfd) in do_with_relocs() 2464 if (bfd_bwrite ((void *) (output_ptr_start), amt, output_bfd) != amt) in flush() 3126 if (bfd_bwrite (s->contents, s->size, abfd) != s->size) in ieee_write_debug_part() 3533 if (bfd_bwrite ((char *) exten, (bfd_size_type) sizeof (exten), abfd) in ieee_write_object_contents() 3548 if (bfd_bwrite ((char *) envi, (bfd_size_type) sizeof (envi), abfd) in ieee_write_object_contents()
|
| D | libbfd.c | 348 return bfd_bwrite (buffer, (bfd_size_type) 4, abfd) == 4; in bfd_write_bigendian_4byte_int() 899 || bfd_bwrite (location, count, abfd) != count) in _bfd_generic_set_section_contents()
|
| D | bfdio.c | 157 bfd_bwrite (const void *ptr, bfd_size_type size, bfd *abfd) in bfd_bwrite() function
|
| D | bout.c | 382 if (bfd_bwrite ((void *) native, natsize, abfd) != natsize) in b_out_squirt_out_relocs() 423 || bfd_bwrite ((void *) &swapped_hdr, amt, abfd) != amt) in b_out_write_object_contents() 974 return bfd_bwrite ((void *) location, count, abfd) == count; in b_out_set_section_contents()
|
| D | aoutx.h | 1277 || bfd_bwrite (location, count, abfd) != count) in NAME() 1833 if (bfd_bwrite ((void *) buffer, amt, abfd) != amt) in emit_stringtab() 1879 if (bfd_bwrite ((void *) &nsp, amt, abfd) != amt) in NAME() 2374 if (bfd_bwrite ((void *) native, natsize, abfd) != natsize) in NAME() 3611 || bfd_bwrite ((void *) &outsym, amt, output_bfd) != amt) in aout_link_write_other_symbol() 3830 || bfd_bwrite (rel_ptr, amt, finfo->output_bfd) != amt) in aout_link_reloc_link_order() 4684 if (bfd_bwrite (relocs, rel_size, finfo->output_bfd) != rel_size) in aout_link_input_section() 5175 if (bfd_bwrite ((void *) finfo->output_syms, outsym_size, output_bfd) in aout_link_write_symbols() 5566 || bfd_bwrite (&b, (bfd_size_type) 1, abfd) != 1) in NAME()
|
| D | elfcode.h | 1039 if (bfd_bwrite (&extphdr, sizeof (Elf_External_Phdr), abfd) in elf_write_out_phdrs() 1070 || bfd_bwrite (&x_ehdr, amt, abfd) != amt) in elf_write_shdrs_and_ehdr() 1098 || bfd_bwrite (x_shdrp, amt, abfd) != amt) in elf_write_shdrs_and_ehdr()
|
| D | libaout.h | 642 || bfd_bwrite (& exec_bytes, (bfd_size_type) EXEC_BYTES_SIZE, \
|
| D | xcofflink.c | 3828 || (bfd_bwrite (outsym, osymesz, output_bfd) in xcoff_link_input_bfd() 4142 || (bfd_bwrite (finfo->linenos + linoff, in xcoff_link_input_bfd() 4235 || bfd_bwrite (finfo->outsyms, amt, output_bfd) != amt) in xcoff_link_input_bfd() 4856 || bfd_bwrite (finfo->outsyms, amt, output_bfd) != amt) in xcoff_write_global_symbol() 5134 || bfd_bwrite (finfo->outsyms, amt, output_bfd) != amt) in xcoff_write_global_symbol() 5737 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz) in _bfd_xcoff_bfd_final_link() 5831 || bfd_bwrite ((void *) external_relocs, rel_size, abfd) != rel_size) in _bfd_xcoff_bfd_final_link() 5894 if (bfd_bwrite (strbuf, amt, abfd) != amt) in _bfd_xcoff_bfd_final_link()
|
| D | coff-ppc.c | 2406 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz) 2460 || bfd_bwrite ((PTR) external_relocs, amt, abfd) != amt) 2508 if (bfd_bwrite (strbuf, (bfd_size_type) STRING_SIZE_SIZE, abfd)
|
| D | ihex.c | 747 if (bfd_bwrite (buf, (bfd_size_type) total, abfd) != total) in ihex_write_record()
|