[U-Boot] [PATCH 1/2] x86: Use default stack boundary alignment

Simon Glass sjg at chromium.org
Tue Aug 1 09:10:50 UTC 2017


On 23 July 2017 at 03:37, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
>  arch/x86/config.mk | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list