Use the alignment attribute to specify the alignment of a global variable.
Example- The following declaration aligns global variable 'foo' on a 4-byte boundary: int foo __attribute__ ((aligned (4)));
- The following declaration aligns global variable 'bar' on a 16-byte boundary. int bar[4] __attribute__ ((aligned (16)));