LD: Output Section Attributes

Next: Overlay Description, Previous: Output Section Discarding, Up: SECTIONS   [Contents][Index]


3.6.8 Output Section Attributes

We showed above that the full description of an output section looked like this:

section [address] [(type)] :
  [AT(lma)]
  [ALIGN(section_align)]
  [SUBALIGN(subsection_align)]
  [constraint]
  {
    output-section-command
    output-section-command
    …
  } [>region] [AT>lma_region] [:phdr :phdr …] [=fillexp]

We’ve already described section, address, and output-section-command. In this section we will describe the remaining section attributes.

• Output Section Type:    Output section type
• Output Section LMA:    Output section LMA
• Forced Output Alignment:    Forced Output Alignment
• Forced Input Alignment:    Forced Input Alignment
• Output Section Constraint:    Output section constraint
• Output Section Region:    Output section region
• Output Section Phdr:    Output section phdr
• Output Section Fill:    Output section fill