Lines Matching refs:segment
2969 // Return the name of this segment.
2974 // Return the type of the segment.
3011 // Create the segment.
3019 // Return the segment.
3021 segment()
3024 // Release the segment.
3029 // Set the segment flags if appropriate.
3044 // The type of the segment (PT_LOAD, etc.).
3046 // Whether this segment includes the file header.
3048 // Whether this segment includes the section headers.
3052 // The flags for this segment (PF_R, etc.) if specified.
3054 // The expression for the load address for this segment. This may
3059 // The segment itself.
3488 // update dot. Return the segment which should hold the file header
3489 // and segment headers, if any.
3762 // the segment which should hold the file header and segment headers,
3810 // last one; we need a new segment.
3816 // Putting this section in the segment would require
3823 // same segment.
3830 // Don't put a writable section in the same segment as a
3836 // Otherwise, reuse the existing segment.
3866 // a PT_LOAD segment. However, it appears that the Linux kernel
3869 // segment. It then sets AT_PHDR to the load address plus the
3872 // first PT_LOAD segment. Therefore, we always create a PT_LOAD
3873 // segment to hold the file header and the program headers. This is
3875 // efficient in any case. We try to use the first PT_LOAD segment
3882 // no need to put the program headers in a PT_LOAD segment.
3907 // issue a warning message about the segment we are going to
3914 gold_warning(_("creating a segment to contain the file and program"
3924 // Create a PT_NOTE segment for each SHT_NOTE section and a PT_TLS
3925 // segment if there are any SHT_TLS sections.
3985 // .interp then put the .interp section in a PT_INTERP segment.
4041 // PT_NOTE segment.
4050 // There can only be one PT_TLS segment.
4062 // Create the segments from a PHDRS clause. Return the segment which
4110 gold_error(_("allocated section %s not in any segment"),
4114 // PT_LOAD segment.
4120 Output_segment* oseg = (*ppe)->segment();
4131 // We see a list of segments names. Disable PT_LOAD segment only
4138 // any segment type other than PT_LOAD. Otherwise, e.g., the
4139 // PT_INTERP segment will pick up following orphan sections,
4145 // list of segment names.
4156 gold_error(_("no segment %s"), q->c_str());
4176 gold_error(_("allocated section not in any PT_LOAD segment"));
4181 // the segment which should hold the file header and program headers,
4194 // sections to the segment, as adding an output segment can
4198 Output_segment* oseg = (*p)->segment();
4205 gold_error(_("may only specify load address for PT_LOAD segment"));
4214 // address of the segment.
4227 // address specified for the segment.
4264 "PT_LOAD segment is not currently supported"));
4274 // Add the file header and segment headers to non-load segments
4289 (*p)->segment()->add_initial_output_data(segment_headers);
4291 (*p)->segment()->add_initial_output_data(file_header);