[PATCH 1/9] ARM: zImage: make sure the stack is 64-bit aligned

Tony Lindgren tony at atomide.com
Fri Apr 29 02:58:27 EDT 2011


* Nicolas Pitre <nico at fluxnic.net> [110428 15:47]:
> From: Nicolas Pitre <nicolas.pitre at linaro.org>
> 
> With ARMv5+ and EABI, the compiler expects a 64-bit aligned stack so
> instructions like STRD and LDRD can be used.  Without this, mysterious
> boot failures were seen semi randomly with the LZMA decompressor.
> 
> While at it, let's align .bss as well.
> 
> Signed-off-by: Nicolas Pitre <nicolas.pitre at linaro.org>
> Tested-by: Shawn Guo <shawn.guo at linaro.org>
> CC: stable at kernel.org

Acked-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list