Re: Dynamic symbol table

Luciano Montanaro <[email protected]>
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
El 23:55, giovedì 15 luglio 2004, Karl Vogel escribió:
> Frans Englich wrote:
> 
> > 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.
> > 

Some time ago, I tried a version script for the b2 window decoration module,
that exported just the init. Everything seemed to work fine, but then, I didn't
think there would be useful enoughto bother, at the time. But, if all the 
modules can be optimized in the same way, that could well be quite a win!

Luciano
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.