Re: Prelink/Preload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 01/02/10 21:57, Shridhar Daithankar wrote:
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.

The gcc package uses --hash-style=both by default, but the default LDFLAGS for makepkg overrides this with --hash-style=gnu

Allan



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux