
On Tue, 2010-06-15 at 22:51 +0200, Wolfgang Denk wrote:
Dear Peter,
In message 1276634341.32134.1541.camel@petert you wrote:
I think the "timer" code is sufficient to show the problem, and that your fix helps. If Timur confirms it's working for his secret code too we should apply this.
Do you want this rolled into the first patch, or sent as a follow-up?
Please roll it into one patch. Thanks!
It looks like the -fno-toplevel-reorder flag is only available in gcc >= 4.2 (http://gcc.gnu.org/gcc-4.2/changes.html released May 2007). So, do we add support to U-Boot to conditionally check for the gcc version like Linux to know when to use -fno-toplevel-reorder? Or do we use a linker script that would support more versions of gcc at the cost of more complexity?
Best, Peter