Re: Dynamic symbol table

Frans Englich <[email protected]>
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
On Thursday 15 July 2004 21:09, Karl Vogel wrote:
> Karl Vogel wrote:
> > I noticed that a lot of the .so files have big dynamic symbol tables, as
> > if everything is exported. Wouldn't it be better to only export the
> > symbols that are really required?!
>
> Seems like it is indeed not needed. I've changed the Makefile.am of
> some kcm modules to use a version script which only exports init_*
> and create_* symbols.

A quick note: A half year ago a macro for factory declaration of KControl 
modules was proposed(to be declared in kcmodule.h), but postponed for KDE 4. 
If this optimization turns out useful, it could perhaps be part of such a 
declaration macro(I can look up the patch, if of interest).


			Frans
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.