We have a global variable which is initialized to 1 and named AMLogging.
When we compile our source it does not cause any problem but when we change
AMLogging = 0;
and compile, if at run time we try to access to this variable it is causing
system to crash with a floating point exception to 4-byte aligned address.
We think that because the location of the variable moves to bss instead of data
section compiler makes alignment errors.