Segment is the official terminology in the ELF spec to denote
the output section. Segment is better than OutputSection since
it is shorter and less confusing than InputSection.
Details
Details
- Reviewers
• espindola
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Unfortunately I don't think that is correct. The spec says
In the first phase, input sections that match in name, type and
attribute flags should be concatenated into single sections ...
In the second phase, sections should be assigned to segments or other
units based on their attribute flags ...
So our OutputSection is what the "single sections" refers to.
Comment Actions
Segment is the official terminology in the ELF spec to denote the output section.
This is confusing to me - the output ELF file has both sections and segments.