Patchwork [U-Boot,v6,12/17] arm: crt0.S: Remove bogus .globl

login
register
mail settings
Submitter Benoît Thébaudeau
Date Feb. 14, 2013, 9:14 p.m.
Message ID <1360876483-31688-12-git-send-email-benoit.thebaudeau@advansee.com>
Download mbox | patch
Permalink /patch/220512/
State Changes Requested
Delegated to: Stefano Babic
Headers show

Comments

Benoît Thébaudeau - Feb. 14, 2013, 9:14 p.m.
The purpose of .globl is to export symbols for ld, not to declare external
symbols.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
---
Changes in v6:
 - New patch.

Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 arch/arm/lib/crt0.S |   21 ---------------------
 1 file changed, 21 deletions(-)

Patch

diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S
index 4f60958..6946cbc 100644
--- a/arch/arm/lib/crt0.S
+++ b/arch/arm/lib/crt0.S
@@ -67,27 +67,6 @@ 
  */
 
 /*
- * declare nand_boot() or board_init_r() to jump to at end of crt0
- */
-
-#if defined(CONFIG_NAND_SPL)
-
-.globl nand_boot
-
-#elif ! defined(CONFIG_SPL_BUILD)
-
-.globl board_init_r
-
-#endif
-
-/*
- * start and end of BSS
- */
-
-.globl __bss_start
-.globl __bss_end__
-
-/*
  * entry point of crt0 sequence
  */