SPRU514Z July 2001 – October 2023 SM320F28335-EP
The following restrictions affect post-link optimization:
For example, consider the following link command file:
SECTIONS
{
.text > MEM,
.mydata > MEM,}
A change in the size of the .text section after optimizing causes the .mydata section to shift. Ensuring that all output data sections are aligned on a 64-word boundary removes this shifting issue. For example, consider the following link command file:
SECTIONS
{
.text > MEM,
.mydata align = 64 > MEM,}