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

Bin Meng bmeng.cn at gmail.com
Tue Aug 1 12:21:19 UTC 2017


On Tue, Aug 1, 2017 at 5:11 PM, Simon Glass <sjg at chromium.org> wrote:
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list