u-boot-brain/arch/arm/cpu
Vitaly Kuzmichev 1a27f7d9c2 ARM: Align stack to 8 bytes
The ARM ABI requires that the stack be aligned to 8 bytes as it is noted
in Procedure Call Standard for the ARM Architecture:
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042d/index.html

Unaligned SP also causes the problem with variable-length arrays
allocation when VLA address becomes less than stack pointer during
aligning of this address, so the next 'push' in the stack overwrites
first 4 bytes of VLA.

Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
2010-06-22 21:41:06 +02:00
..
arm_cortexa8 ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm_intcm ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm720t ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm920t ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm925t ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm926ejs ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm946es ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm1136 ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
arm1176 ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
ixp ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
lh7a40x ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
pxa ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
s3c44b0 ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00
sa1100 ARM: Align stack to 8 bytes 2010-06-22 21:41:06 +02:00