]> git.baikalelectronics.ru Git - uboot.git/commitdiff
armv8: u-boot-spl.lds: mark __image_copy_start as symbol
authorPeng Fan <peng.fan@nxp.com>
Sat, 18 Jun 2022 12:13:13 +0000 (15:13 +0300)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:52 +0000 (03:09 +0100)
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 <peng.fan@nxp.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
arch/arm/cpu/armv8/u-boot-spl.lds

index d02b788e608deb80de34b2819bac038d83cdf2e8..7cb9d731246d0fe98b4d330d79c02a3daf9bd46e 100644 (file)
@@ -23,7 +23,7 @@ SECTIONS
 {
        .text : {
                . = ALIGN(8);
-               *(.__image_copy_start)
+               __image_copy_start = .;
                CPUDIR/start.o (.text*)
                *(.text*)
        } >.sram