Adriaan van Os wrote:
When I look at libgpc.a with the "size" tool, I see that the file.o section has a rather large DATA section.
Disassembly shows a 50 KB data chunk in file.o filled with (mainly) zero's. Looks to me like a waste of space.
That's Input, Output, StdErr (with their internal buffers).
Maybe this will change soon, but for other reasons (problems with files and nonlocal gotos). The reduced data section may then be a side effect (I'm not sure if it's really a side benefit, since the storage will then be allocated elsewhere, on the heap).
Frank