[U-Boot] [PATCH] Align end of bss by 4 bytes,
Kim Phillips
kim.phillips at freescale.com
Tue Oct 7 01:06:19 CEST 2008
On Mon, 6 Oct 2008 21:12:58 +0530
Selvamuthukumar <selva.muthukumar at e-coninfotech.com> wrote:
> bss initialization loop increments 4 bytes at a time.
> And the loop end is checked for an 'equal' condition.
> Make the bss end address aligned by 4, so that the loop
> will end as expected.
> ---
I need a signed-off-by to apply this.
also, providing more details in the commit message as to how this
condition is being triggered, what happens with which toolchain
when it does would be appreciated.
Kim
> cpu/mpc83xx/u-boot.lds | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/cpu/mpc83xx/u-boot.lds b/cpu/mpc83xx/u-boot.lds
> index 99ad675..0d26937 100644
> --- a/cpu/mpc83xx/u-boot.lds
> +++ b/cpu/mpc83xx/u-boot.lds
> @@ -117,6 +117,7 @@ SECTIONS
> *(.bss)
> *(COMMON)
> }
> + . = ALIGN(4);
> _end = . ;
> PROVIDE (end = .);
> }
> --
> 1.5.5
More information about the U-Boot
mailing list