Prelinking of shared libraries

Waldo Bastian bastian@kde.org
Wed May 9 17:54:00 GMT 2001


I have updated my paper with, among other things, something that John Polstra 
(BSD linker) pointed out:

"
It is interesting to note that multiple R_386_32 entries can point to the 
same symbol:
 
The following table lists the number of total R_386_32 entries per library as
well as the number of unique symbols referenced.
 
Table 4d:
 
		R_386_32	Unique Symbols
libqt		17090		4377
libkdecore	1719		806
libkdeui		15547		2518
libXft		46		30
"

John managed to get quite some saving wrt link-time by caching symbol lookups 
for R_386_32 relocations. Konqueror startup went down from 0.86 to 0.40.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com



More information about the Libc-alpha mailing list