Lines Matching refs:subsection
2714 asection *subsection; local
2721 for (subsection = abfd->sections;
2722 subsection != NULL;
2723 subsection = subsection->next)
2732 if (!som_is_subspace (subsection)
2733 || !som_is_container (section, subsection))
2738 if ((subsection->flags & SEC_HAS_CONTENTS) == 0)
2740 som_section_data (subsection)->subspace_dict->fixup_request_index
2747 som_section_data (subsection)->subspace_dict->fixup_request_index
2770 for (j = 0; j < subsection->reloc_count; j++)
2772 arelent *bfd_reloc = subsection->orelocation[j];
2928 for (tmp = j; tmp < subsection->reloc_count; tmp++)
2930 tmp_reloc = subsection->orelocation[tmp];
2935 if (tmp == subsection->reloc_count)
3055 p = som_reloc_skip (abfd, (bfd_section_size (abfd, subsection)
3066 som_section_data (subsection)->subspace_dict->fixup_request_quantity
3507 asection *subsection; local
3517 for (subsection = abfd->sections;
3518 subsection != NULL;
3519 subsection = subsection->next)
3522 if (!som_is_subspace (subsection)
3523 || !som_is_container (section, subsection)
3524 || (subsection->flags & SEC_ALLOC) == 0)
3541 || (subsection->flags & SEC_CODE)
3543 && (subsection->flags & SEC_DATA)))
3547 if (subsection->flags & SEC_CODE && exec_header->exec_tfile == 0)
3552 if (subsection->flags & SEC_DATA && exec_header->exec_dfile == 0)
3562 subspace_offset = subsection->vma;
3581 current_offset += subsection->vma - subspace_offset;
3582 if (subsection->flags & SEC_CODE)
3583 exec_header->exec_tsize += subsection->vma - subspace_offset;
3585 exec_header->exec_dsize += subsection->vma - subspace_offset;
3586 subspace_offset += subsection->vma - subspace_offset;
3589 subsection->target_index = total_subspaces++;
3591 if (subsection->flags & SEC_LOAD)
3595 && subsection->flags & SEC_CODE)
3596 exec_header->exec_tsize += subsection->_cooked_size;
3598 && subsection->flags & SEC_DATA)
3599 exec_header->exec_dsize += subsection->_cooked_size;
3600 som_section_data (subsection)->subspace_dict->file_loc_init_value
3602 subsection->filepos = current_offset;
3603 current_offset += bfd_section_size (abfd, subsection);
3604 subspace_offset += bfd_section_size (abfd, subsection);
3611 exec_header->exec_bsize += subsection->_cooked_size;
3613 som_section_data (subsection)->subspace_dict->file_loc_init_value
3615 som_section_data (subsection)->subspace_dict->
3634 asection *subsection; local
3644 for (subsection = abfd->sections;
3645 subsection != NULL;
3646 subsection = subsection->next)
3649 if (!som_is_subspace (subsection)
3650 || !som_is_container (section, subsection)
3651 || (subsection->flags & SEC_ALLOC) != 0)
3654 subsection->target_index = total_subspaces++;
3656 if ((subsection->flags & SEC_LOAD) == 0)
3658 som_section_data (subsection)->subspace_dict->file_loc_init_value
3660 subsection->filepos = current_offset;
3661 current_offset += bfd_section_size (abfd, subsection);
3666 som_section_data (subsection)->subspace_dict->file_loc_init_value
3668 som_section_data (subsection)->subspace_dict->
3669 initialization_length = bfd_section_size (abfd, subsection);
3803 asection *subsection; local
3810 for (subsection = abfd->sections;
3811 subsection != NULL;
3812 subsection = subsection->next)
3818 if (!som_is_subspace (subsection)
3819 || !som_is_container (section, subsection)
3820 || (subsection->flags & SEC_ALLOC) == 0)
3841 som_section_data (subsection)->subspace_dict->space_index = i;
3845 if (bfd_bwrite ((PTR) som_section_data (subsection)->subspace_dict,
3858 asection *subsection; local
3865 for (subsection = abfd->sections;
3866 subsection != NULL;
3867 subsection = subsection->next)
3874 if (!som_is_subspace (subsection)
3875 || !som_is_container (section, subsection)
3876 || (subsection->flags & SEC_ALLOC) != 0)
3897 som_section_data (subsection)->subspace_dict->space_index = i;
3901 if (bfd_bwrite ((PTR) som_section_data (subsection)->subspace_dict,