opnsense-src/gnu/usr.bin
Nate Williams 468f82b316 Run-time linker speedups - Round One
Implemented symbol memorizing to reduce the number of calls to lookup(),
making relocation go faster.  While relocating a given shared object,
the dynamic linker maintains a memorizing vector that is directly
indexed by the symbol number in the relocation entry.  The first time a
given symbol is looked up, the memorizing vector is filled in with a
pointer to the symbol table entry, and a pointer to the so_map of the
shared object in which the symbol was defined.  On subsequent uses of
the same symbol, that information is retrieved directly from the
memorizing vector, without calling lookup() again.

A symbol that is referenced in a relocation entry is typically
referenced in many relocation entries, so this memorizing reduces the
number of calls to lookup() dramatically.  The overall improvement in
the speed of dynamic linking is also dramatic -- as much as a factor of
three for programs that use many shared libaries.

Submitted by:	jdp@polstra.com "John Polstra"
1995-10-25 16:16:35 +00:00
..
as Stop using gnumalloc. 1995-09-22 14:14:32 +00:00
awk Remove includes of the wrong ../Makefile.inc (one was commented out, the 1995-10-22 18:28:10 +00:00
bc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
binutils/gdb Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
cc When building -static, link with special scrt0.o instead of crt0.o. This 1995-10-18 04:28:31 +00:00
cpio Output a zero rdev except for bdevs, cdevs, fifos and sockets. This 1995-09-12 16:38:16 +00:00
cvs Put a bandaid on the NULL pointer dereference caused by doing an 1995-09-03 05:05:31 +00:00
dc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
dialog Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
diff Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
diff3 Fixed non-conflict errors that occur when changes made to the local files are 1995-02-20 18:47:18 +00:00
gdb Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
grep Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
groff fix bad dependencies (LIBMATH -> LIBM) 1995-10-25 15:08:21 +00:00
gzip Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
ld Run-time linker speedups - Round One 1995-10-25 16:16:35 +00:00
man Rewrite and merge some bogus makefiles to create Makefile.shprog. Just 1995-10-21 14:27:19 +00:00
mkisofs Merge version 1.04 into HEAD. 1995-10-22 14:04:37 +00:00
patch Give "Index" specified filenames preference over other filenames specified 1995-09-14 04:33:35 +00:00
perl Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
pr Updated to GNU textutils-1.9 1993-11-08 17:07:38 +00:00
ptx Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
rcs Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
sdiff Update to GNU diffutils 2.6 1993-11-12 07:05:40 +00:00
send-pr Add MLINKS for sendbug manpage. 1995-08-29 13:01:40 +00:00
sort Fix compilation warnings. 1995-08-23 05:35:03 +00:00
tar Fix a typo ("-It Fl" to ".It Fl") 1995-10-25 02:17:44 +00:00
texinfo Re-initialize the terminal after ^Z / fg. 1995-09-10 13:04:45 +00:00
yppush Add a dependency on the .x source file and avoid copying it. 1995-07-04 08:39:27 +00:00
Makefile Re-enabled cvs now that Rod is satisfied that it will work correctly. 1995-04-11 17:28:26 +00:00
Makefile.inc New files for relocated source code. 1994-01-30 00:31:51 +00:00