Skip to content
Snippets Groups Projects
Commit 644e6fb4 authored by mushtaq khan's avatar mushtaq khan Committed by Wolfgang Denk
Browse files

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: default avatarMushtaq Khan <mushtaq_k@procsys.com>
parent c3243cf7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment