]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: zImage: make sure the stack is 64-bit aligned
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 22 Apr 2011 01:45:08 +0000 (21:45 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 7 May 2011 03:55:49 +0000 (23:55 -0400)
commite8370be9ecdc3edf820d3769a9d86c47dccd656c
tree3997d786c250cef69fc1977f2ab4ad1aba2f8197
parent8fee371925e9b3313e55812fd93cc1adaea36399
ARM: zImage: make sure the stack is 64-bit aligned

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@linaro.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
CC: stable@kernel.org
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/vmlinux.lds.in