summaryrefslogtreecommitdiff
path: root/arch/sh/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/config.mk')
-rw-r--r--arch/sh/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/config.mk b/arch/sh/config.mk
index 758c070..eefcbcd 100644
--- a/arch/sh/config.mk
+++ b/arch/sh/config.mk
@@ -15,3 +15,4 @@ 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