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

mushtaq khan mushtaq_k at procsys.com
Mon Apr 30 12:27:22 CEST 2007


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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bss_clear.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20070430/77637fd9/attachment.txt 


More information about the U-Boot mailing list