Caution for those considering MSC 5.0

Doug Gwyn gwyn at brl-smoke.ARPA
Sun Feb 21 02:01:11 AEST 1988


In article <1221 at wjvax.UUCP> brett at wjvax.UUCP (Brett Galloway) writes:
>Unless your machine obeys the convenient kludge that binary 0
>translates to a 0 object of every type, then in general a copy of the entire
>uninitialized data space must be put in the executable and loaded into
>memory.  Something like BSS is completely useless then.

No, on those architectures where different object types require
different representations for zero, it is possible to initialize
arrays (other types are best done via explicit .data) using a
small amount of run-time support code that interprets a data
descriptor template and plops down the right kinds of zero data
before main() is called.



More information about the Comp.lang.c mailing list