Lines Matching refs:subspace

1039    bytes without any relocation.  Update the size of the subspace
1110 from a BFD relocation. Update the size of the subspace relocation
2066 /* Convert all of the space and subspace info into BFD sections. Each space
2107 struct som_subspace_dictionary_record subspace, save_subspace;
2155 /* Now, read in the first subspace for this space. */
2171 som_swap_subspace_dictionary_in (&ext_subspace, &subspace);
2173 /* Setup the start address and file loc from the first subspace
2175 space_asect->vma = subspace.subspace_start;
2176 space_asect->filepos = subspace.file_loc_init_value + current_offset;
2177 space_asect->alignment_power = exact_log2 (subspace.alignment);
2192 /* Read in the next subspace. */
2197 som_swap_subspace_dictionary_in (&ext_subspace, &subspace);
2199 /* Setup the subspace name string. */
2200 if (subspace.name >= file_hdr->space_strings_size)
2203 subspace_name = subspace.name + space_strings;
2211 /* Make a section out of this subspace. */
2218 subspace.access_control_bits,
2219 subspace.sort_key,
2220 subspace.quadrant,
2221 subspace.is_comdat,
2222 subspace.is_common,
2223 subspace.dup_common))
2231 store the location of the subspace header in target
2232 index, then sort using the location of the subspace
2234 subspace indices. */
2236 subspace_asect->target_index = bfd_tell (abfd) - sizeof (subspace);
2239 by the access_control_bits in the subspace header. */
2240 switch (subspace.access_control_bits >> 4)
2269 if (subspace.is_comdat || subspace.is_common || subspace.dup_common)
2272 if (subspace.subspace_length > 0)
2275 if (subspace.is_loadable)
2280 if (subspace.code_only)
2284 be zero for a BSS like subspace. */
2285 if (subspace.file_loc_init_value == 0
2286 && subspace.initialization_length == 0)
2289 /* This subspace has relocations.
2292 of relocations in the subspace. */
2293 if (subspace.fixup_request_quantity != 0)
2296 subspace_asect->rel_filepos = subspace.fixup_request_index;
2298 = subspace.fixup_request_quantity;
2305 if (subspace.file_loc_init_value > save_subspace.file_loc_init_value)
2306 save_subspace = subspace;
2308 subspace_asect->vma = subspace.subspace_start;
2309 subspace_asect->size = subspace.subspace_length;
2310 subspace_asect->filepos = (subspace.file_loc_init_value
2312 subspace_asect->alignment_power = exact_log2 (subspace.alignment);
2317 space_size += subspace.subspace_length;
2329 in the last subspace of the space. */
2345 /* Now that we've read in all the subspace records, we need to assign
2346 a target index to each subspace. */
2595 subspace. */
2623 /* Allocate space for the subspace dictionary. */
2629 /* Set subspace attributes. Basic stuff is done here, additional
2671 subspace. */
2686 /* Return TRUE if the given section is a SOM subspace, FALSE otherwise. */
2692 subspace. */
2697 then this isn't a subspace. */
2703 /* OK. Must be a subspace. */
2707 /* Return TRUE if the given space contains the given subspace. It
2708 is safe to assume space really is a space, and subspace really
2709 is a subspace. */
2712 som_is_container (asection *space, asection *subspace)
2714 return (som_section_data (subspace)->copy_data->container == space)
2715 || (som_section_data (subspace)->copy_data->container->output_section
2781 and subspace. */
2925 /* All the fixups for a particular subspace are emitted in a single
2953 /* Find a subspace of this space. */
2958 /* If this subspace does not have real data, then we are
2967 /* This subspace has some relocations. Put the relocation stream
2968 index into the subspace record. */
2973 each subspace. Seek to the start of the relocation stream
2974 for this subspace in preparation for writing out its fixup
3286 /* Last BFD relocation for a subspace has been processed.
3287 Map the rest of the subspace with R_NO_RELOCATION fixups. */
3377 /* Write out the space/subspace string table. */
3421 /* Done with the space/subspace strings. Write out any information
3511 space/subspace dictionaries, relocation streams, etc. Begin
3624 /* Next are the subspace records. These are fixed length records.
3627 in the object file for the subspace records.
3629 A variety if fields in the subspace record are still unknown at
3637 /* Next is the string table for the space/subspace names. We will
3639 we will fill in the space/subspace name index fields. */
3645 /* Mark the offset of the space/subspace string table in the
3693 /* If this is the first subspace in the space, and we are
3727 subspace alignments are *NOT* preserved. What a crock. */
3730 /* Only do this for the first subspace within each space. */
3739 case where the loader left one code subspace unaligned
3743 and use the subspace vma fields to detect and preserve
3899 These used to be output before the subspace contents, but they
3943 /* Write the fixups and update fields in subspace headers which
3960 about them in their containing spaces as the subspace is written. */
3962 /* Seek to the start of the subspace dictionary records. */
3985 or subspace. Or does not have SEC_ALLOC set (and therefore
3992 /* If this is the first subspace for this space, then save
3993 the index of the subspace in its containing space. Also
4008 /* Mark the index of the current space within the subspace's
4012 /* Dump the current subspace header. */
4042 subspace, or which SEC_ALLOC set (and therefore handled
4050 /* If this is the first subspace for this space, then save
4051 the index of the subspace in its containing space. Clear
4066 /* Mark the index of the current space within the subspace's
4070 /* Dump this subspace header. */
4081 /* All the subspace dictionary records are written, and all the
4318 subspace index of the space this symbol is contained in. */
4348 subspace. This avoids having to add directives like `.comdat' but
4350 universal symbol (comdat key sysmbol) in a subspace.
4454 /* Set up fixed parts of the file, space, and subspace headers.
4515 /* Convert from a SOM subspace index to a BFD section. */
5405 /* User has specified a subspace without its containing space. */
5664 /* Set up fixed parts of the file, space, and subspace headers.