Re: PATCH 2.4.17.2: make ext2 smaller

Jeff Garzik (jgarzik@mandrakesoft.com)
Sun, 02 Dec 2001 08:03:27 -0500


Ingo Oeser wrote:
> On Sun, Dec 02, 2001 at 10:54:34PM +1100, Keith Owens wrote:
> > With kbuild 2.5 the generation of ext2_all.c (I prefer
> > ext2_static.c) can be automated.

> > The code that is normally linked into xxxx.o has to be manually changed
> > to add XXXX_STATIC before a make_static(xxxx) command can be added.

> Even this doesn't have to be done manually. Everything that is
> not covered by EXPORT_SYMBOL() in this case can be static, since

And if !MODULE, then even EXPORT_SYMBOL symbols can become static, if
they are not used outside the compilation unit.

-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno

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