[maemo-developers] [maemo-developers] using __attribute__ ((visibility "hidden")))

From: Rafael Espíndola rafael.espindola at gmail.com
Date: Thu Jul 13 22:16:37 EEST 2006
I am trying to improve the load time of the gtk module. The attached
patch is a first attempt at reducing the number of relocations.

The results of applying this patch were

_gtk.so-orig: 12122 relocations, 12081 relative (99%), 3451 PLT
entries, 0 for local syms (0%), 0 users
_gtk.so-patch: 11928 relocations, 11887 relative (99%), 3451 PLT
entries, 0 for local syms (0%), 0 users

I think that most relative relocations are generated because of global
tables with pointer to strings of functions. I have no idea why there
are so many PLTs.

Rafael
Python for maemo,
INdT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visibily.patch
Type: application/octet-stream
Size: 2875 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060713/88284ad5/attachment.obj 
More information about the maemo-developers mailing list