Re: [PATCH] Use ld's garbage collection feature

From: Marcelo Tosatti
Date: Mon Jun 05 2006 - 10:34:12 EST


On Sun, Jun 04, 2006 at 10:51:45PM -0400, Dmitry Torokhov wrote:
> On Sunday 04 June 2006 20:31, Marcelo Tosatti wrote:
> > Current implementation requires "make modules" to be run before "make
> > vmlinux" (need to know what functions used by modules must be kept), but
> >
>
> How will it work with out of tree modules? Or even modules one decides
> to add later and use without rebooting?

Right, exported symbols must be kept in that case. An extra option to
enable exported symbol gc as dwmw2 suggests should do the trick.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/