summaryrefslogtreecommitdiff
path: root/arch/sh/cpu/sh3
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2010-11-24 13:12:17 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2010-11-30 09:30:26 +0900
commit2024b968ee9476bb7809e472a693120e775bbbbb (patch)
treed62356a93e87342d28941790de84c3a635c2640b /arch/sh/cpu/sh3
parentd0d2271f8c62e830ec65fb069b6d12dd708e3e2f (diff)
downloadu-boot-imx-2024b968ee9476bb7809e472a693120e775bbbbb.zip
u-boot-imx-2024b968ee9476bb7809e472a693120e775bbbbb.tar.gz
u-boot-imx-2024b968ee9476bb7809e472a693120e775bbbbb.tar.bz2
sh: Fix build in start.S
By commit 6d8962e814c15807dd6ac5757904be2a02d187b8, label of _start was not usable in start.S and build fail. This change label from _start to _sh_start. ---- arch/sh/cpu/sh4/libsh4.o: In function `_start': (.text+0x204): multiple definition of `_start' arch/sh/cpu/sh4/start.o:(.text+0x0): first defined here ---- Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'arch/sh/cpu/sh3')
-rw-r--r--arch/sh/cpu/sh3/start.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/cpu/sh3/start.S b/arch/sh/cpu/sh3/start.S
index 9dd2303..d96ca91 100644
--- a/arch/sh/cpu/sh3/start.S
+++ b/arch/sh/cpu/sh3/start.S
@@ -29,7 +29,7 @@
.align 2
.global _start
-_start:
+_sh_start:
mov.l ._lowlevel_init, r0
100: bsrf r0
nop
@@ -38,7 +38,7 @@ _start:
nop
1: sts pr, r5
mov.l ._reloc_dst, r4
- add #(_start-1b), r5
+ add #(_sh_start-1b), r5
mov.l ._reloc_dst_end, r6
2: mov.l @r5+, r1
@@ -73,6 +73,6 @@ loop:
._reloc_dst_end: .long reloc_dst_end
._bss_start: .long bss_start
._bss_end: .long bss_end
-._gd_init: .long (_start - GENERATED_GBL_DATA_SIZE)
-._stack_init: .long (_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
+._gd_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE)
+._stack_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
._sh_generic_init: .long sh_generic_init