sunxi: u-boot-spl.lds: Pass _image_binary_end
authorFabio Estevam <festevam@denx.de>
Sat, 1 Jul 2023 02:30:51 +0000 (23:30 -0300)
committerTom Rini <trini@konsulko.com>
Mon, 3 Jul 2023 14:20:13 +0000 (10:20 -0400)
Pass _image_binary_end to make a standard way to indicate the end
of the text section in SPL.

The motivation for this is to have a uniform way to handle
the SPL boundary checks.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/arm926ejs/sunxi/u-boot-spl.lds
arch/arm/cpu/armv7/sunxi/u-boot-spl.lds

index c108736..cf65e8c 100644 (file)
@@ -36,6 +36,7 @@ SECTIONS
        . = ALIGN(4);
        __image_copy_end = .;
        _end = .;
+       _image_binary_end = .;
 
        .bss :
        {
index 306a4dd..fb7a789 100644 (file)
@@ -45,6 +45,7 @@ SECTIONS
        . = ALIGN(4);
        __image_copy_end = .;
        _end = .;
+       _image_binary_end = .;
 
        .bss :
        {