[PATCH v2 2/3] microblaze: u-boot-spl.lds: Pass _image_binary_end

Fabio Estevam festevam at gmail.com
Sat Jul 1 04:30:52 CEST 2023


From: Fabio Estevam <festevam at denx.de>

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 at denx.de>
---
Changes since v1:
- Newly introduced to avoid build failure.

 arch/microblaze/cpu/u-boot-spl.lds | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/microblaze/cpu/u-boot-spl.lds b/arch/microblaze/cpu/u-boot-spl.lds
index 4ac5a21524c5..597095195cae 100644
--- a/arch/microblaze/cpu/u-boot-spl.lds
+++ b/arch/microblaze/cpu/u-boot-spl.lds
@@ -54,6 +54,7 @@ SECTIONS
 		__bss_end = .;
 	}
 	_end = . ;
+	_image_binary_end = .;
 }
 
 #if defined(CONFIG_SPL_MAX_FOOTPRINT)
-- 
2.34.1



More information about the U-Boot mailing list