From: Wolfgang Denk Date: Tue, 15 May 2007 23:40:33 +0200 Subject: [U-Boot-Users] Patch fixes bug for clearing the bss section In-Reply-To: Your message of "Mon, 30 Apr 2007 15:57:22 +0530." <4635C48A.5050703@procsys.com> Message-ID: <20070515214033.243DA353428@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <4635C48A.5050703@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