diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-06-04 12:06:44 +0200 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2009-07-08 11:43:15 +0900 |
commit | 236aad875817771eb1f25ed32784b3cd7760b2e6 (patch) | |
tree | 534a9e553f081357057f0a3f995bf25d680cb5c4 /sh_config.mk | |
parent | ce29817212792113cd2d67a9767049a2e262c406 (diff) | |
download | u-boot-imx-236aad875817771eb1f25ed32784b3cd7760b2e6.zip u-boot-imx-236aad875817771eb1f25ed32784b3cd7760b2e6.tar.gz u-boot-imx-236aad875817771eb1f25ed32784b3cd7760b2e6.tar.bz2 |
sh: make the linker scripts more generic
currently we need to sync the linker script enty and TEXT_BASE manualy
and the reloc_dst is based on it
instead provide it now from the ldflags
tested on r2dplus
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'sh_config.mk')
-rw-r--r-- | sh_config.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh_config.mk b/sh_config.mk index 49d50f7..c19db53 100644 --- a/sh_config.mk +++ b/sh_config.mk @@ -22,3 +22,4 @@ # PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ +PLATFORM_LDFLAGS += -e $(TEXT_BASE) --defsym reloc_dst=$(TEXT_BASE) |