projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87d5b22
)
sh: Fix incorrect linking with new binutils
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Sat, 14 Sep 2019 17:03:32 +0000
(19:03 +0200)
committer
Marek Vasut
<marex@denx.de>
Sat, 14 Sep 2019 19:28:54 +0000
(21:28 +0200)
Since binutils 2.30 , the resulting U-Boot binary was incorrectly linked
against address 0 instead of text base, fix it.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/sh/cpu/u-boot.lds
patch
|
blob
|
history
diff --git
a/arch/sh/cpu/u-boot.lds
b/arch/sh/cpu/u-boot.lds
index 47302da252a9311369d50b4d3df7b8f32edeb9f5..4cc97737f1c97e0ad6811f633460cbf20bfb80a1 100644
(file)
--- a/
arch/sh/cpu/u-boot.lds
+++ b/
arch/sh/cpu/u-boot.lds
@@
-25,6
+25,7
@@
ENTRY(_start)
SECTIONS
{
+ . = CONFIG_SYS_TEXT_BASE;
reloc_dst = .;
PROVIDE (_ftext = .);