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

Attachment: visibily.patch
Description: Binary data

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to