Le 31/10/2010 12:58, Wolfgang Denk a écrit : > Dear Alexander Holler, > > In message<4ccd4c1c.2050...@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.
Actually I think this is the right section (and the only one to deal with initialization IIUC); is has indeed this one sentence about automatic objects, but then the following is about static objects: "[...] If an object that has static storage duration is not initialized explicitly, then: [...]" > Best regards, > > Wolfgang Denk Amicalement, -- Albert. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot