[PATCH] xtensa: Put U-Boot version string at correct place by linker script
Tom Rini
trini at konsulko.com
Thu Sep 16 19:30:21 CEST 2021
Update the linker script macros to know that we need to include the
.text_version_string section now as well.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
arch/xtensa/include/asm/ldscript.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/xtensa/include/asm/ldscript.h b/arch/xtensa/include/asm/ldscript.h
index 08f5d0135ed0..84c496e09f1b 100644
--- a/arch/xtensa/include/asm/ldscript.h
+++ b/arch/xtensa/include/asm/ldscript.h
@@ -72,6 +72,7 @@
{ \
_text_start = ABSOLUTE(.); \
*(.literal .text) \
+ *(.literal .text_version_string) \
*(.literal.* .text.* .stub) \
*(.gnu.warning .gnu.linkonce.literal.*) \
*(.gnu.linkonce.t.*.literal .gnu.linkonce.t.*) \
--
2.17.1
More information about the U-Boot
mailing list