On Sun, Nov 14, 2010 at 7:56 AM, Jacob Todd <jaketodd...@gmail.com> wrote: > The full standard c library isn't included in a statically linked > executable. Only what's needed is, at least on plan 9, i have no idea what > gcc does.
To emphasize this comment: Plan 9 has always done the equivalent of what gcc recently got; only the code you use is bound in. The plan 9 linkers do the equivalent of the segment garbage collection that went into gld a while back. And there's no need to tell the Plan 9 C compiler to put everything in its own section so it can be garbage-collected by the linker. ron