Hi!

12-Июн-2006 00:45 [EMAIL PROTECTED] (Eric Auer) wrote to
freedos-devel@lists.sourceforge.net:

EA> Hi Arkady, I would vote for the "explicit zero" in this
EA> case. As far as I remember, zeroing out the BSS at start
EA> is a compiler option,

      No, BSS zeroed at start always - this is required by standard to
zero-initialize all static uninitialized variables. And BSS segment is used
to reduce executable size, because this segment doesn't present in
executable and created (and initialized) only in memory when program starts.
Issue is only that not all compilers automatically place explicitly
zero-initialized variables in BSS (instead DATA).

EA> so when somebody switches that off,
EA> we would have a problem.

      No, there is no such option.


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to