Re: [PATCH] automount: check for recursive automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux