mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
a71da1b6c9
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> Tested on tx25(mx25), imx27lite(mx27), qong(mx31) and trab(s3c2400) Tested-by: Wolfgang Denk <wd@denx.de> |
||
---|---|---|
.. | ||
at91 | ||
davinci | ||
kirkwood | ||
mx25 | ||
mx27 | ||
nomadik | ||
omap | ||
orion5x | ||
spear | ||
versatile | ||
config.mk | ||
cpu.c | ||
Makefile | ||
start.S | ||
u-boot.lds |