Is pre-linking worth it?
Is pre-linking worth it?
Posted Jul 15, 2009 22:19 UTC (Wed) by nix (subscriber, #2304)In reply to: Is pre-linking worth it? by arjan
Parent article: Is pre-linking worth it?
That figure is surprising to me, as it would imply that 20% of your
average program was relocation sections, or that they are very scattered
in the executable, which should not be the case. (As relocations are
incurred disproportionately at startup, it might mean simply that you ran
a lot of programs that exited fast, but those would be in cache and thus
not read from the disk.)
average program was relocation sections, or that they are very scattered
in the executable, which should not be the case. (As relocations are
incurred disproportionately at startup, it might mean simply that you ran
a lot of programs that exited fast, but those would be in cache and thus
not read from the disk.)
(glibc is linked with --bind-now, but that doesn't affect things much: it
causs immediate relocation, but only of those symbols in glibc that are
used, not of all of them.)
