diff options
Diffstat (limited to 'arch/sh/config.mk')
-rw-r--r-- | arch/sh/config.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/config.mk b/arch/sh/config.mk index 673ed8dfa4..71540c8bb2 100644 --- a/arch/sh/config.mk +++ b/arch/sh/config.mk @@ -15,5 +15,6 @@ CONFIG_STANDALONE_LOAD_ADDR += -EB endif PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ +PLATFORM_RELFLAGS += -fpic LDFLAGS_FINAL = --gc-sections PLATFORM_RELFLAGS += -ffixed-r13 |