]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fixes bug clearing the bss section for i386
authormushtaq khan <mushtaq_k@procsys.com>
Mon, 30 Apr 2007 10:27:22 +0000 (15:57 +0530)
committerWolfgang Denk <wd@denx.de>
Tue, 15 May 2007 21:15:10 +0000 (23:15 +0200)
commit644e6fb4eb8be90ea04ba34b643a8bf019d680e0
treefe45b4507772ce3b36537ef66c730d04367d6ddd
parentc3243cf7b490057277d61acffe4ad0946f9eb4a4
Fixes bug clearing the bss section for i386

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.

Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
cpu/i386/start.S