[PATCH] automount: check for recursive automount
Alessandro Rubini
rubini-list at gnudd.com
Thu Jul 3 02:00:45 PDT 2014
> static variables are initialized to 0 (for pointers: NULL) by the
> compiler.
Well, not really. The compiler just places them in the .bss area. It
is barebox, it is run-time initialization, that zeroes bss.
So it is barebox, not the compiler.
Uwe, I know you know this, but I'd better make it clear for
everybody. I've already seen a "specialist" writing an IPL where he
explicitly sets static variables to 0 one by one in different places
because he didn't clear bss in his assembly.
/alessandro
More information about the barebox
mailing list