8.6.10 Warn-section-align Option
The --warn-section-align
option warns if
the start of a section changes due to alignment. This means a gap has been introduced into
the (normally sequential) allocation of memory. Typically, an input section will set the
alignment. The address will only be changed if it is not explicitly specified; that is, if
the SECTIONS
command does not specify a start address for
the section.
Note that section-alignment gaps are normal. This option helps you identify ways to minimize gaps.