summaryrefslogtreecommitdiff
path: root/board/renesas/sh7785lcr/u-boot.lds
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-04 12:06:44 +0200
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2009-07-08 11:43:15 +0900
commit236aad875817771eb1f25ed32784b3cd7760b2e6 (patch)
tree534a9e553f081357057f0a3f995bf25d680cb5c4 /board/renesas/sh7785lcr/u-boot.lds
parentce29817212792113cd2d67a9767049a2e262c406 (diff)
downloadu-boot-236aad875817771eb1f25ed32784b3cd7760b2e6.tar.gz
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 'board/renesas/sh7785lcr/u-boot.lds')
-rw-r--r--board/renesas/sh7785lcr/u-boot.lds7
1 files changed, 4 insertions, 3 deletions
diff --git a/board/renesas/sh7785lcr/u-boot.lds b/board/renesas/sh7785lcr/u-boot.lds
index 255ab374f9..48f4ba2d88 100644
--- a/board/renesas/sh7785lcr/u-boot.lds
+++ b/board/renesas/sh7785lcr/u-boot.lds
@@ -28,9 +28,10 @@ ENTRY(_start)
SECTIONS
{
- . = 0x88000000 + (128 * 1024 * 1024) - (512 * 1024);
-
- PROVIDE (reloc_dst = .);
+ /*
+ * entry and reloct_dst will be provided via ldflags
+ */
+ . = .;
PROVIDE (_ftext = .);
PROVIDE (_fcode = .);