[U-Boot-Users] [PATCH] Fix cpu/arm1136 initial stack alignment

Woodruff, Richard r-woodruff2 at ti.com
Fri May 12 21:55:05 CEST 2006


The included patch fixes the initial stack alignment in the
cpu/arm1136/start.S file to 8.  When compiling for ARMv5 or above the
compiler can generate ldrd & strd opcodes.  This can cause crashes in
the cfi code depending on operations.  Any C call which has a 'long
long' parameter may fail with out proper stack alignment.

Richard W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: align.diff
Type: application/octet-stream
Size: 873 bytes
Desc: align.diff
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060512/2fefcfe4/attachment.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: changlog-align.txt
Url: http://lists.denx.de/pipermail/u-boot/attachments/20060512/2fefcfe4/attachment.txt 

More information about the U-Boot mailing list