Lines Matching refs:subsection
2934 asection *subsection;
2943 for (subsection = abfd->sections;
2944 subsection != NULL;
2945 subsection = subsection->next)
2954 if (!som_is_subspace (subsection)
2955 || !som_is_container (section, subsection))
2960 if ((subsection->flags & SEC_HAS_CONTENTS) == 0)
2962 som_section_data (subsection)->subspace_dict->fixup_request_index
2969 som_section_data (subsection)->subspace_dict->fixup_request_index
2992 for (j = 0; j < subsection->reloc_count; j++)
2994 arelent *bfd_reloc = subsection->orelocation[j];
3004 abfd, subsection, (uint64_t) bfd_reloc->address,
3010 abfd, subsection,
3017 abfd, subsection, (uint64_t) bfd_reloc->address,
3161 for (tmp = j; tmp < subsection->reloc_count; tmp++)
3163 tmp_reloc = subsection->orelocation[tmp];
3168 if (tmp == subsection->reloc_count)
3288 p = som_reloc_skip (abfd, subsection->size - reloc_offset,
3298 som_section_data (subsection)->subspace_dict->fixup_request_quantity
3673 asection *subsection;
3683 for (subsection = abfd->sections;
3684 subsection != NULL;
3685 subsection = subsection->next)
3688 if (!som_is_subspace (subsection)
3689 || !som_is_container (section, subsection)
3690 || (subsection->flags & SEC_ALLOC) == 0)
3707 || (subsection->flags & SEC_CODE)
3709 && (subsection->flags & SEC_DATA)))
3713 if (subsection->flags & SEC_CODE && exec_header->exec_tfile == 0)
3718 if (subsection->flags & SEC_DATA && exec_header->exec_dfile == 0)
3728 subspace_offset = subsection->vma;
3747 current_offset += subsection->vma - subspace_offset;
3748 if (subsection->flags & SEC_CODE)
3749 exec_header->exec_tsize += subsection->vma - subspace_offset;
3751 exec_header->exec_dsize += subsection->vma - subspace_offset;
3752 subspace_offset += subsection->vma - subspace_offset;
3755 subsection->target_index = total_subspaces++;
3757 if (subsection->flags & SEC_LOAD)
3761 && subsection->flags & SEC_CODE)
3762 exec_header->exec_tsize += subsection->size;
3764 && subsection->flags & SEC_DATA)
3765 exec_header->exec_dsize += subsection->size;
3766 som_section_data (subsection)->subspace_dict->file_loc_init_value
3768 subsection->filepos = current_offset;
3769 current_offset += subsection->size;
3770 subspace_offset += subsection->size;
3777 exec_header->exec_bsize += subsection->size;
3779 som_section_data (subsection)->subspace_dict->file_loc_init_value
3781 som_section_data (subsection)->subspace_dict->
3800 asection *subsection;
3810 for (subsection = abfd->sections;
3811 subsection != NULL;
3812 subsection = subsection->next)
3815 if (!som_is_subspace (subsection)
3816 || !som_is_container (section, subsection)
3817 || (subsection->flags & SEC_ALLOC) != 0)
3820 subsection->target_index = total_subspaces++;
3822 if ((subsection->flags & SEC_LOAD) == 0)
3824 som_section_data (subsection)->subspace_dict->file_loc_init_value
3826 subsection->filepos = current_offset;
3827 current_offset += subsection->size;
3832 som_section_data (subsection)->subspace_dict->file_loc_init_value
3834 som_section_data (subsection)->subspace_dict->
3835 initialization_length = subsection->size;
3971 asection *subsection;
3978 for (subsection = abfd->sections;
3979 subsection != NULL;
3980 subsection = subsection->next)
3987 if (!som_is_subspace (subsection)
3988 || !som_is_container (section, subsection)
3989 || (subsection->flags & SEC_ALLOC) == 0)
4010 som_section_data (subsection)->subspace_dict->space_index = i;
4014 (som_section_data (subsection)->subspace_dict, &ext_subspace_dict);
4028 asection *subsection;
4035 for (subsection = abfd->sections;
4036 subsection != NULL;
4037 subsection = subsection->next)
4045 if (!som_is_subspace (subsection)
4046 || !som_is_container (section, subsection)
4047 || (subsection->flags & SEC_ALLOC) != 0)
4068 som_section_data (subsection)->subspace_dict->space_index = i;
4072 (som_section_data (subsection)->subspace_dict, &ext_subspace_dict);