diff options
Diffstat (limited to 'lib_sh')
-rw-r--r-- | lib_sh/config.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_sh/config.mk b/lib_sh/config.mk index 67d7e9e..fa5369f 100644 --- a/lib_sh/config.mk +++ b/lib_sh/config.mk @@ -23,6 +23,11 @@ CROSS_COMPILE ?= sh4-linux- +STANDALONE_LOAD_ADDR = 0x8C000000 +ifeq ($(CPU),sh2) +STANDALONE_LOAD_ADDR += -EB +endif + PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ PLATFORM_LDFLAGS += -e $(TEXT_BASE) --defsym reloc_dst=$(TEXT_BASE) |