[U-Boot] arm: wrong Relocation and not cleared BSS
Wolfgang Denk
wd at denx.de
Sun Oct 31 12:58:35 CET 2010
Dear Alexander Holler,
In message <4CCD4C1C.2050603 at ahsoftware.de> you wrote:
>
> > Zeroing of the BSS is a mandatory requirement.
>
>
> Beeing curious, I've looked up that part in the C99 standard. Just to=20
> refresh our memories:
>
> -------------------------------------
> 6.7.8
>
> 10
>
> If an object that has automatic storage duration is not initialized
> explicitly, its value is
Wrong section. We are not talking about variables with "automatic
storage" (which means they are allocated on the stack), but about
_static_ variables.
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
Men will always be men -- no matter where they are.
-- Harry Mudd, "Mudd's Women", stardate 1329.8
More information about the U-Boot
mailing list