]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: fix a double-definition error of _start symbol
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 27 May 2014 02:16:29 +0000 (11:16 +0900)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 9 Jun 2014 08:36:40 +0000 (10:36 +0200)
The symbol "_start" is defined twice in arch/arm/lib/vectors.S:
around line 48 and line 54.

If CONFIG_SYS_DV_NOR_BOOT_CFG is defined (as on calimain board),
build fails:

  arch/arm/lib/vectors.S: Assembler messages:
  arch/arm/lib/vectors.S:54: Error: symbol `_start' is already defined
  make[1]: *** [arch/arm/lib/vectors.o] Error 1
  make: *** [arch/arm/lib] Error 2

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/lib/vectors.S

index d68cc477dc68e7a1ba60eaba046747901dae38f7..e6538eff43360f9118af07c4163b154cfad66ecd 100644 (file)
@@ -43,8 +43,6 @@
  *************************************************************************
  */
 
-_start:
-
 #ifdef CONFIG_SYS_DV_NOR_BOOT_CFG
        .word   CONFIG_SYS_DV_NOR_BOOT_CFG
 #endif