]> git.sur5r.net Git - u-boot/commit
ARMv8: fix error in freeing stack frame
authorzijun_hu <zijun_hu@htc.com>
Sat, 23 Sep 2017 05:30:58 +0000 (13:30 +0800)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
commit7baf952fdb93527bee6a4a95f2bfb7c15484a09f
tree651c1a22b0168b9953f2fddc80523b0775525d54
parent01a835998935b78c31e80227358ac11212d60878
ARMv8: fix error in freeing stack frame

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@htc.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/relocate_64.S