Searched refs:sofar (Results 1 – 8 of 8) sorted by relevance
3134 file_ptr sofar = bfd_coff_filhsz (abfd); in coff_compute_section_file_positions() local3209 sofar += bfd_coff_aoutsz (abfd); in coff_compute_section_file_positions()3212 sofar += bfd_coff_aoutsz (abfd); in coff_compute_section_file_positions()3214 sofar += SMALL_AOUTSZ; in coff_compute_section_file_positions()3217 sofar += abfd->section_count * bfd_coff_scnhsz (abfd); in coff_compute_section_file_positions()3224 sofar += bfd_coff_scnhsz (abfd); in coff_compute_section_file_positions()3363 old_sofar = sofar; in coff_compute_section_file_positions()3365 sofar = BFD_ALIGN (sofar, 1 << current->alignment_power); in coff_compute_section_file_positions()3390 bfd_vma sofar_off = sofar % align; in coff_compute_section_file_positions()3394 sofar += vma_off - sofar_off; in coff_compute_section_file_positions()[all …]
719 bfd_size_type sofar = 0; in srec_read_section() local766 BFD_ASSERT (sofar == section->size); in srec_read_section()788 if (address != section->vma + sofar) in srec_read_section()791 BFD_ASSERT (sofar == section->size); in srec_read_section()802 contents[sofar] = HEX (data); in srec_read_section()804 ++sofar; in srec_read_section()814 BFD_ASSERT (sofar == section->size); in srec_read_section()
1941 file_ptr sofar, file_sofar; in ecoff_compute_section_file_positions() local1951 sofar = _bfd_ecoff_sizeof_headers (abfd, NULL); in ecoff_compute_section_file_positions()1952 file_sofar = sofar; in ecoff_compute_section_file_positions()2022 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()2032 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()2043 sofar = (sofar + round - 1) &~ (round - 1); in ecoff_compute_section_file_positions()2049 sofar = BFD_ALIGN (sofar, 1 << alignment_power); in ecoff_compute_section_file_positions()2056 sofar += (current->vma - sofar) % round; in ecoff_compute_section_file_positions()2064 sofar += current->size; in ecoff_compute_section_file_positions()2069 old_sofar = sofar; in ecoff_compute_section_file_positions()[all …]
1307 file_ptr sofar; in nlm_compute_section_file_positions() local1333 sofar = nlm_optional_prefix_size (abfd) + nlm_fixed_header_size (abfd); in nlm_compute_section_file_positions()1336 sofar += (sizeof (nlm_variable_header (abfd)->descriptionLength) in nlm_compute_section_file_positions()1349 sofar += sizeof (Nlm_External_Version_Header); in nlm_compute_section_file_positions()1352 sofar += sizeof (Nlm_External_Extended_Header); in nlm_compute_section_file_positions()1355 sofar += (sizeof (Nlm_External_Copyright_Header) in nlm_compute_section_file_positions()1359 sofar += (sizeof (Nlm_External_Custom_Header) in nlm_compute_section_file_positions()1363 sofar += sizeof (Nlm_External_Custom_Header); in nlm_compute_section_file_positions()1422 text_ptr = BFD_ALIGN (sofar, 1 << text_align); in nlm_compute_section_file_positions()
5934 file_ptr sofar; in _bfd_xcoff_bfd_final_link() local5982 sofar = bfd_coff_filhsz (abfd); in _bfd_xcoff_bfd_final_link()5983 sofar += bfd_coff_aoutsz (abfd); in _bfd_xcoff_bfd_final_link()5984 sofar += abfd->section_count * bfd_coff_scnhsz (abfd); in _bfd_xcoff_bfd_final_link()5991 sofar += bfd_coff_scnhsz (abfd); in _bfd_xcoff_bfd_final_link()6000 pageoff = sofar & (file_align - 1); in _bfd_xcoff_bfd_final_link()6004 sofar += file_align - pageoff; in _bfd_xcoff_bfd_final_link()6011 sofar += BFD_ALIGN (o->size, in _bfd_xcoff_bfd_final_link()
3312 * coffcode.h (coff_compute_section_file_positions): Adjust sofar5467 producing a final executable, don't consider sofar when aligning
1127 increment sofar by SMALL_AOUTSZ if not executable.
1627 ptrdiff_t sofar; in read_symbol_name() local1629 sofar = name - start; in read_symbol_name()1633 name = start + sofar; in read_symbol_name()