Lines Matching full:current_offset
1952 unsigned long current_offset)
2039 bfd_get_start_address (abfd) = aux_hdrp->exec_entry + current_offset;
2056 obj_som_sym_filepos (abfd) = file_hdrp->symbol_location + current_offset;
2058 + current_offset);
2060 + current_offset);
2075 unsigned long current_offset)
2090 if (bfd_seek (abfd, current_offset + file_hdr->space_strings_location,
2111 (current_offset + file_hdr->space_location
2150 (current_offset + file_hdr->subspace_location
2159 (current_offset + file_hdr->subspace_location
2169 space_asect->filepos = subspace.file_loc_init_value + current_offset;
2301 + current_offset);
2385 unsigned long current_offset = 0;
2457 current_offset = bfd_getb32 (ext_som_entry.location);
2458 if (bfd_seek (abfd, current_offset, SEEK_SET) != 0)
2511 if (!setup_sections (abfd, &file_hdr, current_offset))
2519 current_offset);
2893 unsigned long current_offset,
2959 if (bfd_seek (abfd, current_offset + total_reloc_size, SEEK_SET) != 0)
3301 unsigned long current_offset,
3315 if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0)
3404 unsigned long current_offset,
3430 if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0)
3580 unsigned long current_offset = 0;
3599 current_offset += sizeof (struct som_external_header);
3603 obj_som_file_hdr (abfd)->aux_header_location = current_offset;
3610 current_offset += sizeof (struct som_external_exec_auxhdr);
3622 if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0)
3628 current_offset += len;
3637 current_offset += len;
3648 if (bfd_seek (abfd, (file_ptr) current_offset, SEEK_SET) != 0)
3654 current_offset += len;
3663 current_offset += len;
3671 obj_som_file_hdr (abfd)->init_array_location = current_offset;
3684 obj_som_file_hdr (abfd)->space_location = current_offset;
3686 current_offset +=
3697 obj_som_file_hdr (abfd)->subspace_location = current_offset;
3699 current_offset
3707 if (current_offset % 4)
3708 current_offset += (4 - (current_offset % 4));
3712 obj_som_file_hdr (abfd)->space_strings_location = current_offset;
3715 if (! som_write_space_strings (abfd, current_offset, &strings_size))
3721 current_offset += strings_size;
3724 obj_som_file_hdr (abfd)->compiler_location = current_offset;
3729 current_offset += sizeof (struct som_external_compilation_unit);
3775 current_offset = SOM_ALIGN (current_offset, PA_PAGESIZE);
3781 exec_header->exec_tfile = current_offset;
3786 exec_header->exec_dfile = current_offset;
3812 current_offset += subsection->vma - subspace_offset;
3832 = current_offset;
3833 subsection->filepos = current_offset;
3834 current_offset += subsection->size;
3859 current_offset = SOM_ALIGN (current_offset, PA_PAGESIZE);
3861 obj_som_file_hdr (abfd)->unloadable_sp_location = current_offset;
3872 current_offset = SOM_ALIGN (current_offset, PA_PAGESIZE);
3890 = current_offset;
3891 subsection->filepos = current_offset;
3892 current_offset += subsection->size;
3911 current_offset = SOM_ALIGN (current_offset, PA_PAGESIZE);
3912 if (bfd_seek (abfd, (file_ptr) current_offset - 1, SEEK_SET) != 0)
3918 = current_offset - obj_som_file_hdr (abfd)->unloadable_sp_location;
3925 obj_som_file_hdr (abfd)->som_length = current_offset;
3941 unsigned long current_offset;
3967 current_offset = obj_som_file_hdr (abfd)->som_length;
3970 if (current_offset % 4)
3971 current_offset += (4 - (current_offset % 4));
3974 obj_som_file_hdr (abfd)->symbol_location = current_offset;
3976 current_offset +=
3981 if (current_offset % 4)
3982 current_offset += (4 - (current_offset % 4));
3983 obj_som_file_hdr (abfd)->symbol_strings_location = current_offset;
3986 if (! som_write_symbol_strings (abfd, current_offset, syms,
3994 current_offset += strings_size;
4003 if (current_offset % 4)
4004 current_offset += (4 - (current_offset % 4));
4005 obj_som_file_hdr (abfd)->fixup_request_location = current_offset;
4009 if (! som_write_fixups (abfd, current_offset, &total_reloc_size))
4016 obj_som_file_hdr (abfd)->som_length = current_offset + total_reloc_size;