freebsd-nq/libexec/rtld-elf/i386
John Polstra 962fdc466a Fix a serious performance bug for large programs on the Alpha,
discovered by Hidetoshi Shimokawa.  Large programs need multiple
GOTs.  The lazy binding stub in the PLT can be reached from any of
these GOTs, but the dynamic linker only has enough information to
fix up the first GOT entry.  Thus calls through the other GOTs went
through the time-consuming lazy binding process on every call.

This fix rewrites the PLT entries themselves to bypass the lazy
binding.

Tested by Hidetoshi Shimokawa and Steve Price.

Reviewed by:	Doug Rabson <dfr@freebsd.org>
1999-06-25 02:53:59 +00:00
..
elf_rtld.x
Makefile.inc
reloc.c Fix a serious performance bug for large programs on the Alpha, 1999-06-25 02:53:59 +00:00
rtld_machdep.h Fix a serious performance bug for large programs on the Alpha, 1999-06-25 02:53:59 +00:00
rtld_start.S