On Thu, Sep 06, 2007 at 11:55:52AM +0100, Denys Vlasenko wrote: > > > Doing a normal kernel build will link vmlinux three or four times. > > If we introduce --gc-sections we should add a preparational link of > > vmlinux where we use --gc-sections and skip it for the rest of the links > > assuming that --gc-sections takes some time for ld to do. > > Yes, this will speed up things a bit. > > However, for me build time is totally dominated by CC stages, not LD.
A typical developer workflow is editing a single file and then build the kernel. Here CC has much less impact than LD - and this is the case we shall optimize for. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/