Zero length text segments
Dave Hammond
daveh at marob.MASA.COM
Sat Oct 1 02:09:03 AEST 1988
A mild curiosity:
I recently acquired a copy of the public domain program `vsh'. After
compiling it on a 286 machine, I ran `size' on the executable, which reported:
0 + 45178 + 4006 = 49184 = 0xc020
The cc command args include `-n' which creates a pure-text executable.
Assuming that this option produced the 0 text-segment size, it appears to make
no significant difference in execution speed or core size. What, if any,
are the benefits of a 0 length text-segment program?
Dave Hammond
UUCP: uunet!masa.com!marob!daveh
DOMAIN: daveh at marob.masa.com
----------------------------------------------------------------------------
More information about the Comp.unix.questions
mailing list