freebsd-skq/libexec/rtld-elf/alpha
jdp 66a962ce67 Performance improvements for the ELF dynamic linker. These
particularly help programs which load many shared libraries with
a lot of relocations.  Large C++ programs such as are found in KDE
are a prime example.

While relocating a shared object, maintain a vector of symbols
which have already been looked up, directly indexed by symbol
number.  Typically, symbols which are referenced by a relocation
entry are referenced by many of them.  This is the same optimization
I made to the a.out dynamic linker in 1995 (rtld.c revision 1.30).

Also, compare the first character of a sought-after symbol with its
symbol table entry before calling strcmp().

On a PII/400 these changes reduce the start-up time of a typical
KDE program from 833 msec (elapsed) to 370 msec.

MFC after:	5 days
2001-05-05 23:21:05 +00:00
..
lockdflt.c Fix a bug which could cause programs with user threads packages to 2000-07-17 17:18:13 +00:00
Makefile.inc Eliminate all machine-dependent code from the main source body and 1999-04-09 00:28:43 +00:00
reloc.c Performance improvements for the ELF dynamic linker. These 2001-05-05 23:21:05 +00:00
rtld_machdep.h Solve the dynamic linker's problems with multithreaded programs once 2000-07-08 04:10:38 +00:00
rtld_start.S Solve the dynamic linker's problems with multithreaded programs once 2000-07-08 04:10:38 +00:00