[U-Boot-Users] Patch fixes bug for clearing the bss section

Wolfgang Denk wd at denx.de
Tue May 15 23:40:33 CEST 2007


In message <4635C48A.5050703 at procsys.com> you wrote:
> 
> Hi,
> There is a bug in the code of clearing the bss section for processor 
> i386.(File: cpu/i386/start.S)
> In the code, bss_start addr (starting addr of bss section) is put into 
> the register %eax, but the code which clears the bss section refers to 
> the addr pointed by %edi.
> 
> This patch fixes this bug by putting bss_start into %edi register.

Applied to u-boot-testing.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would seem that evil retreats when forcibly confronted
	-- Yarnek of Excalbia, "The Savage Curtain", stardate 5906.5




More information about the U-Boot mailing list