Mail Archives: djgpp/1995/01/06/14:42:11
> I thought that if an object was uninitialized that it got mapped to an
> area which contains only uninitialized data, and therefore doesn't
> need to have an image in the executable file. I know there was a
> discussion whose conclusion was to the effect that the executable of a
> program which declares a 1MB matrix doesn't have to be over 1MB.
File sections in COFF are rounded to page size (4K); that causes the
extra. No file will have more than 8K of this rounding. The latest
binutils patches I sent in round to 512 bytes instead (I think); the
rounding is only for disk performance.
- Raw text -