]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 c108736811578f4a665873b12327807ff7b8df6b..cf65e8c46281d57e3c5334b19914d0226f01c382 100644 (file)
@@ -36,6 +36,7 @@ SECTIONS
        . = ALIGN(4);
        __image_copy_end = .;
        _end = .;
+       _image_binary_end = .;
 
        .bss :
        {
index 306a4ddf3cd2973c59b2eaa334765b168e1951c0..fb7a789b28b87c3a70adb3e16ac73c4b830989ad 100644 (file)
@@ -45,6 +45,7 @@ SECTIONS
        . = ALIGN(4);
        __image_copy_end = .;
        _end = .;
+       _image_binary_end = .;
 
        .bss :
        {