Hi,
Andrew Corbett <[EMAIL PROTECTED]> wrote:
> Does anyone know if there is anything available that will allow me to speed
> up the run-time loading of shared libraries on a Linux system? We have a
> system that can be very slow to start up a program that links to a large
> number of shared libraries - mostly, it seems, because the loader has to
> relocate a large number of symbols at load time. It should be possible
> (although perhaps difficult) to 'pre-locate' a shared library at link-time
> to a fixed virtual address. Then, at run-time, if the library can be mapped
> to this virtual address, no relocation is required (and hence the program
> will start faster). Does anyone know if there is anything available that
> can do this? Any other suggestions?
I don't know the available toolchain doing pre-locating, but I've
found arguments about this issue. Please see
http://sources.redhat.com/ml/binutils/2001-05/msg00552.html
and the thread starting with
http://sources.redhat.com/ml/libc-alpha/2001-05/msg00025.html
Regards,
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.