Why default alignment of functions in SPC5Studio projects is 16 bytes?
Default linker script created with new SPC5Studio project (SPC560BCxxx in my case) aligns code on 16-byte boundary.
This is a part of default linker script (application.ld/user.ld):
.text_vle : ALIGN(16) SUBALIGN(16)
{
*(.text_vle)
*(.text_vle.*)
*(.gnu.linkonce.t_vle.*)
*(.vletext)
"*(.vletext.*)"
"*(.ghs.linkonce.t_vle.*)"
} > flash
.text : ALIGN(16) SUBALIGN(16)
{
*(.text)
*(.text.*)
*(.gnu.linkonce.t.*)
} > flash
.rodata : ALIGN(16) SUBALIGN(16)
{
*(.glue_7t)
*(.glue_7)
*(.gcc*)
*(.rodata)
*(.rodata.*)
*(.rodata1)
} > flashAre there any contraindications to change alignment to 4-byte based?
Since my program contains a lot of tiny functions, I waste a lot of memory space between these functions.
