AnsweredAssumed Answered

Linker-Script Alignment

Question asked by Vinci on Jul 21, 2016
Latest reply on Jul 22, 2016 by Vinci

Has anyone ever noticed that the alignment of certain sections in the linker scripts provided by ST (and Cube) differ between 4 and 8-byte a lot?

The original script for the F407 defines .isr_vector, .text, .data and so on as 4-byte aligned, whereas the script for the L476 defines them all as 8-byte aligned.

Is there any specific reason for this?
I've always thought 4-byte alignment is sufficient in any case?