[PATCH] ARM: fix a wrong comment about relocate_to_adr

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Jan 28 01:37:08 PST 2015


The relocated_to_adr does not clear the .bss section.
It is done by the setup_c routine.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 arch/arm/cpu/setupc.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/setupc.S b/arch/arm/cpu/setupc.S
index 2df2683..c232b08 100644
--- a/arch/arm/cpu/setupc.S
+++ b/arch/arm/cpu/setupc.S
@@ -40,7 +40,7 @@ ENDPROC(setup_c)
 /*
  * void relocate_to_adr(unsigned long targetadr)
  *
- * Copy binary to targetadr, relocate code, clear bss and continue
+ * Copy binary to targetadr, relocate code and continue
  * executing at new address.
  */
 .section .text.relocate_to_adr
-- 
1.9.1




More information about the barebox mailing list