summaryrefslogtreecommitdiff
path: root/sh_config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sh_config.mk')
-rw-r--r--sh_config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh_config.mk b/sh_config.mk
index 49d50f7..407e076 100644
--- a/sh_config.mk
+++ b/sh_config.mk
@@ -22,3 +22,6 @@
#
PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
+PLATFORM_LDFLAGS += -e $(TEXT_BASE) --defsym reloc_dst=$(TEXT_BASE)
+
+LDSCRIPT := $(SRCTREE)/cpu/$(CPU)/u-boot.lds