// gcc -Zomf -fno-common -c align.c -o align.obj typedef unsigned short uint16_t; typedef unsigned int uint32_t; #define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v DECLARE_ALIGNED(16, uint16_t, aligned_int) = 42; DECLARE_ALIGNED(32, uint32_t, Aligned32_Var1); uint32_t NoAligned_Var1; DECLARE_ALIGNED(32, uint32_t, Aligned32_Var2); uint32_t NoAligned_Var2; DECLARE_ALIGNED(32, uint32_t, Aligned32_Var3); uint32_t NoAligned_Var3; int main() { }