]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Use default stack boundary alignment
authorBin Meng <bmeng.cn@gmail.com>
Thu, 27 Jul 2017 13:12:34 +0000 (06:12 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
commit105b16cfd577c51163dfa50d1b000511e649f66e
treed727c83a72acc8f13cd35d9c4f68ac836babf4ce
parent071ee47079d620c817b209b133717e67c8ec1d50
x86: Use default stack boundary alignment

At present U-Boot x86 build is using -mpreferred-stack-boundary=2
which is 4 bytes stack boundary alignment. With 64-bit U-Boot, the
minimal required stack boundary alignment is 16 bytes.

If -mpreferred-stack-boundary is not specified, the default is 4
(16 bytes). Switch to use the default one.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/config.mk