From: Kim Phillips Date: Mon, 6 Oct 2008 18:06:19 -0500 Subject: [U-Boot] [PATCH] Align end of bss by 4 bytes, In-Reply-To: References: <1223301492-21964-1-git-send-email-selva.muthukumar@e-coninfotech.com> Message-ID: <20081006180619.9d32bcc7.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 6 Oct 2008 21:12:58 +0530 Selvamuthukumar 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