Subject: Re: 'prebind' implementation (was Re: HEADS UP: migration to fully dynamic linked "base" system)
To: Jason R Thorpe <email@example.com>
From: Christopher Vance <firstname.lastname@example.org>
Date: 08/28/2002 12:19:43
On Tue, Aug 27, 2002 at 07:11:24PM -0700, Jason R Thorpe wrote:
: Presumably, the .pplt would have fixed addresses for each library
: encoded in it. If you can't map a library at that location, then
: you'd fall back on .plt.
Tru64 (from HewPaq) has a so_locations file in /usr/shlib containing
prelinked addresses for all the shared libraries in that directory.
If the library can be loaded at the prelinked address, it is, but it
will load elsewhere if necessary.
Of course, having 64-bit addressing helps reduce problems with
multiple libraries needing to use the same space.
This file is updated when you link a new shared library.