Use the __attribute__ ((aligned(...))) directive to specify to the compiler on what memory boundary to store data objects.
The syntax of the directive is:
__attribute__ ((aligned(<n>))
where <n> is a decimal number of a power of 2 from 1 to 4096.