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

Simon Glass sjg at chromium.org
Tue Aug 1 09:11:02 UTC 2017


On 27 July 2017 at 07:12, 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>
> ---
>
> Changes in v2: None
>
>  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