From: Peng Fan Date: Sat, 18 Jun 2022 12:13:13 +0000 (+0300) Subject: armv8: u-boot-spl.lds: mark __image_copy_start as symbol X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=e87da5704ffa6fc782d93d137fa30a37a5df3566;p=u-boot.git armv8: u-boot-spl.lds: mark __image_copy_start as symbol In arch/arm/lib/sections.c there is below code: char __image_copy_start[0] __section(".__image_copy_start"); But actually 'objdump -t spl/u-boot-spl' not able to find out symbol '__image_copy_start' for binman update image-pos/size. So update link file Signed-off-by: Peng Fan Reviewed-by: Tom Rini Reviewed-by: Alper Nebi Yasak --- diff --git a/arch/arm/cpu/armv8/u-boot-spl.lds b/arch/arm/cpu/armv8/u-boot-spl.lds index d02b788e60..7cb9d73124 100644 --- a/arch/arm/cpu/armv8/u-boot-spl.lds +++ b/arch/arm/cpu/armv8/u-boot-spl.lds @@ -23,7 +23,7 @@ SECTIONS { .text : { . = ALIGN(8); - *(.__image_copy_start) + __image_copy_start = .; CPUDIR/start.o (.text*) *(.text*) } >.sram