[arch-general] Prelink/Preload

Shridhar Daithankar ghodechhap at ghodechhap.net
Mon Feb 1 06:57:52 EST 2010


On Monday 01 February 2010 16:09:08 solsTiCe d'Hiver wrote:
> prelink modifies binary and library to ... prelink ;-) them. during the
> days of kde 3 I noticed a significant improvement in loading time of
> applications. I have dropped its use (prelink ... and kde3) because some
> recent binutils(or gcc or i don't remember) feature is supposed to do
> almost the same thing [ref. needed]

A long time back(seems like eternity) I wrote a small post describing GNU  
hash options in linker at http://dhoomketu.net.in/node/34.

I cannot find the spec file in the arch GCC package anymore but the binaries 
do contain GNU hash section. Just run readelf on any binary, like /bin/ls and 
look for .gnu.hash.

If the gcc package forces linker option to be GNU hash style only(I don't know 
how to verify this on arch), it could achieve the speed improvement and reduce 
the binary size somewhat as well.

I guess most of that is already used by now except for forcing the GNU hash-
style only.
-- 
Regards 
 Shridhar


More information about the arch-general mailing list