aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-16 13:29:04 -0400
committerTom Rini <trini@konsulko.com>2021-09-16 14:39:40 -0400
commit79926f4001ecff15b155bd9194f18ac0238cfd2f (patch)
tree76b04e5460ec3be6886e084b33af67a895699ca2
parentd6f66b08db23d682665a862f952529d107c6fb46 (diff)
downloadu-boot-79926f4001ecff15b155bd9194f18ac0238cfd2f.zip
u-boot-79926f4001ecff15b155bd9194f18ac0238cfd2f.tar.gz
u-boot-79926f4001ecff15b155bd9194f18ac0238cfd2f.tar.bz2
xtensa: Put U-Boot version string at correct place by linker script
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@konsulko.com>
-rw-r--r--arch/xtensa/include/asm/ldscript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/ldscript.h b/arch/xtensa/include/asm/ldscript.h
index 08f5d01..84c496e 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.*) \