diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-09-14 19:03:32 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-09-14 21:28:54 +0200 |
commit | e914109de48d3baf8baf8a2fcada78a0dbe7757c (patch) | |
tree | 352b45a1ad9c43fd0b641a0aebe53420122a8192 /arch | |
parent | 87d5b225585f341ea8e926a2c26fb72585fc9d0c (diff) | |
download | u-boot-e914109de48d3baf8baf8a2fcada78a0dbe7757c.tar.gz u-boot-e914109de48d3baf8baf8a2fcada78a0dbe7757c.tar.bz2 u-boot-e914109de48d3baf8baf8a2fcada78a0dbe7757c.zip |
sh: Fix incorrect linking with new binutils
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/cpu/u-boot.lds | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/cpu/u-boot.lds b/arch/sh/cpu/u-boot.lds index 47302da252..4cc97737f1 100644 --- 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 = .); |