From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 30 Oct 2010 16:37:19 +0200 Subject: [U-Boot] arm: wrong Relocation and not cleared BSS In-Reply-To: <4CCC218E.706@ahsoftware.de> References: <4CCC18E7.8080708@ahsoftware.de> <4CCC1F6C.7040603@free.fr> <4CCC218E.706@ahsoftware.de> Message-ID: <20101030143719.BAD25FA@gemini.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 Dear Alexander Holler, In message <4CCC218E.706@ahsoftware.de> you wrote: > > > Wait a minute. No parts of the code assume BSS is *cleared*, or at least > > no pat of the should *should ever* assume that. BSS is not "zeroed > > data", it is "uninitialized data". > > Thats true for normal C, but I assume that is not true for u-boot. It is true for U-Boot, too. After relocation, we provide a standard C execution environment, which includes a zeroes BSS. 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 If a packet hits a pocket on a socket on a port, And the bus is interrupted as a very last resort, And the address of the memory makes your floppy disk abort, Then the socket packet pocket has an error to report! - Ken Burchill?