freebsd with flexible iflib nic queues
Go to file
Peter Wemm 5584286a91 Update to handle new version ld.so.hints and info in executable for
configurable fallback search paths, as well as new crt interface version.

Also:
 - even faster getenv(), get all environment variable settings in a single
   pass.
 - ldd printf-like format specifications
 - minor code cleanups, one vsprintf -> vsnprintf (harmless)

The library search sequence is a little more complete now. Before,
it'd search $LD_LIBRARY_PATH (by opendir/readdir/closedir), then read
the hints file, then read /usr/lib (again by scanning thr directory).  It
would then fail if there was no "found" library.

Now, it does LD_LIBRARY_PATH and the hints file the same, but then uses
a longer fallback path.  The -R path is fetched from the executable if
specified at build time, the ldconfig path is appended, and /usr/lib is
appended to that. Duplicates are suppressed.  This means that simply
placing a new library in /usr/local/lib will work (the same as it did in
/usr/lib) without needing ldconfig -m.  It will find it quicker if the
ldconfig is run though.

Similar changes have been made to the NetBSD ld.so, but ours is rather
different now due to John Polstra's speedups and fixes from a while back.

The ldd printf-like format support came direct from NetBSD.

Reviewed by: nate, jdp
1996-10-01 01:52:03 +00:00
bin Activate LC_CTYPE locale and additionly use !isprint() for 8bit characters 1996-09-30 15:45:36 +00:00
contrib Fix some typos 1996-10-01 01:08:47 +00:00
eBones Fix up some compilation warnings. 1996-09-22 00:55:46 +00:00
etc Fix a possible syntax error in rc when swapfile isn't defined at all. 1996-09-22 06:36:49 +00:00
games Eliminated includes of the "temporary" backwards compatibility header 1996-09-24 08:08:11 +00:00
gnu Update to handle new version ld.so.hints and info in executable for 1996-10-01 01:52:03 +00:00
include Add support for storing a -R path in ld in the section dispatch table, 1996-10-01 00:25:32 +00:00
lib Support crt0 <-> ld.so interface version 4. This should be both backwards 1996-10-01 00:54:48 +00:00
libexec Update to handle new version ld.so.hints and info in executable for 1996-10-01 01:52:03 +00:00
lkm add forgotten $Id$ 1996-09-22 21:56:57 +00:00
release Correct a minor misspelling. 1996-09-29 10:03:30 +00:00
sbin Updates to deal with ld.so.hints version 2. It now deals with the 1996-10-01 01:31:51 +00:00
secure cmp -s || install -c --> install -C 1996-08-30 04:07:04 +00:00
share Change RussiaAsia rules too to match recent zone rule change 1996-09-30 14:43:53 +00:00
sys Add support for storing a -R path in ld in the section dispatch table, 1996-10-01 00:25:32 +00:00
tools Fixed CLEANFILES. The *.3 links were missing. 1996-09-20 14:12:32 +00:00
usr.bin Support for specifying printf-like output specs to control the ldd output 1996-10-01 01:34:32 +00:00
usr.sbin Close a potential security hole: if yp_access() is passed a map name, 1996-09-30 22:27:00 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Unlocalize date 1996-09-21 06:06:41 +00:00