Something must be buggered.. what you report doesn't register with me at all.. Do note, that the arm-gcc seems to screw up royally when declaring variables in "misaligned" sequence, especially for "local" static variables, as in:

int f(void)
{
static char localbuf[21]; // odd-sized static
static long last_jiffies = 0; // this gets misaligned
...
}

The above code will run, but data will not end up in the right places due to the misalignment of "last_jiffies".

I've been bitten by this several times..

Cheers


-ml