[U-Boot] arm: wrong Relocation and not cleared BSS
Wolfgang Denk
wd at denx.de
Sat Oct 30 16:37:19 CEST 2010
Dear Alexander Holler,
In message <4CCC218E.706 at 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?
More information about the U-Boot
mailing list