summaryrefslogtreecommitdiff
path: root/arch/sh/config.mk
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-11-28 00:15:27 +0200
committerTom Rini <trini@konsulko.com>2016-12-02 21:32:48 -0500
commitb26d25072ff83093e136eaac98a906188a22c57e (patch)
treee3a45e4ffe83c25e647b70b14a5d87ad987615d1 /arch/sh/config.mk
parent9ec4a67ef342b2dbcecc9721f5369f022ea59b26 (diff)
downloadu-boot-imx-b26d25072ff83093e136eaac98a906188a22c57e.zip
u-boot-imx-b26d25072ff83093e136eaac98a906188a22c57e.tar.gz
u-boot-imx-b26d25072ff83093e136eaac98a906188a22c57e.tar.bz2
sh: define entry point and reloc_dst inside a linker script
No functional change, concentrate linker script commands in one place for convenience. Entry point is set to CONFIG_SYS_TEXT_BASE by default on build, so this option can be omitted from being added to the linker script. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sh/config.mk')
-rw-r--r--arch/sh/config.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/config.mk b/arch/sh/config.mk
index 0578fa3..673ed8d 100644
--- a/arch/sh/config.mk
+++ b/arch/sh/config.mk
@@ -15,6 +15,5 @@ CONFIG_STANDALONE_LOAD_ADDR += -EB
endif
PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
-PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE)
LDFLAGS_FINAL = --gc-sections
PLATFORM_RELFLAGS += -ffixed-r13