[U-Boot] [PATCH 1/1] ARMv8: fix error in freeing stack frame

Simon Glass sjg at chromium.org
Mon Sep 25 02:15:50 UTC 2017


On 22 September 2017 at 23:30, zijun_hu <zijun_hu at zoho.com> wrote:
> From: zijun_hu <zijun_hu at htc.com>
>
> relocate_code() allocates 32 bytes stack frame but only 16 bytes are
> freed before return. it will cause errors to possible previous frames
> and doesn't make relocate_code() look like a function.
>
> fix by freeing 32 bytes stack space
>
> Signed-off-by: zijun_hu <zijun_hu at htc.com>
> ---
>  arch/arm/lib/relocate_64.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the U-Boot mailing list