RFC: Caching of lookup results during startup

Ulrich Drepper drepper@redhat.com
Fri Aug 3 10:02:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> Yes, for now I do the .rel{,a}.* except .rel{,a}.plt merging and reordering
> in the prelinker. It can be done in ld too though.
> I'll try to cook up a patch soon.
> Sun linker uses -z combreloc to request this, maybe this should be default
> GNU ld behaviour though and have -z nocombreloc to disable it.

Right.  And I think they put the RELATIVE reloations at the beginning.
And more importantly: they define DT_RELACOUNT/DT_RELCOUNT to make it
possible to speed up the processing (or ignore the relocations).

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list