[PATCH] ARM: fix a wrong comment about relocate_to_adr

Sascha Hauer s.hauer at pengutronix.de
Wed Jan 28 22:55:47 PST 2015


On Wed, Jan 28, 2015 at 06:37:08PM +0900, Masahiro Yamada wrote:
> 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(-)

Applied, thanks

Sascha

> 
> 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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list