El Sat, Feb 06, 2010 at 08:53:54PM +0100 Alessandro Rubini ha dit:
> Previous code compiled with gcc-4.2.2 makes a call to
> __aeabi_uidiv to divide by 20. As a side effect it was
> not inline any more, and so sdram_cfg used the stack
> as well, but this is early code that has no stack yet.
> The
Previous code compiled with gcc-4.2.2 makes a call to
__aeabi_uidiv to divide by 20. As a side effect it was
not inline any more, and so sdram_cfg used the stack
as well, but this is early code that has no stack yet.
The patch explicitly removes the division, so no stack is used.
The calculation o
2 matches
Mail list logo