freebsd-dev/gnu/usr.bin
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
..
as Mostly resync our gas with the NetBSD version to obtain support for 1996-10-01 00:13:54 +00:00
awk Use collate for alpha character ranges 1996-08-13 14:33:05 +00:00
bc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
binutils/gdb Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
bison Add bmakefiles to compile bison. 1996-09-10 13:23:46 +00:00
cc cpp was named ccp. 1996-09-23 16:12:38 +00:00
cpio Localization fixes. 1996-08-15 22:11:36 +00:00
cvs forgot to reconnect easy-import to the Makefile 1996-09-05 08:43:50 +00:00
dc [HISTORY] command appeared in Version 1 AT&T UNIX 1996-08-29 18:06:19 +00:00
dialog recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
diff Pick collate info fo ranges 1996-08-20 14:22:57 +00:00
diff3 This commit was generated by cvs2svn to compensate for changes in r13122, 1995-12-30 19:02:48 +00:00
gdb Really eliminated includes of the "temporary" backwards compatibility 1996-09-24 08:43:04 +00:00
gperf add bmakefiles 1996-09-10 14:03:12 +00:00
grep grep -q pattern file 1996-09-27 19:44:46 +00:00
groff Add missing tmac.lj4 (for PCL driver) 1996-09-11 22:16:59 +00:00
gzip Don't install zgrep twice. 1996-08-28 15:45:32 +00:00
ld Update to handle new version ld.so.hints and info in executable for 1996-10-01 01:52:03 +00:00
man grep(1) should not parse manpages as arguments. 1996-09-27 17:36:50 +00:00
patch Attempt to break a $Log$ snafu where a *** /--- (minus space) 1996-04-12 11:37:32 +00:00
perl Grab h2ph from /usr/bin, not /usr/local/bin! 1996-09-17 01:14:18 +00:00
ptx Removed temporary file. 1996-03-01 15:18:55 +00:00
rcs Bring in my changes for removing the pestilent obj links (unless you 1996-06-24 04:26:21 +00:00
sdiff Update to GNU diffutils 2.6 1993-11-12 07:05:40 +00:00
send-pr xVERSIONx -> 3.2; close PR 1404 1996-09-28 18:31:30 +00:00
sort Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
tar Replace GNU-made __P definition by standard from sys/cdefs.h 1996-09-20 14:33:48 +00:00
texinfo Fixed bogus obj target (found by objwarn check). 1996-09-20 18:04:26 +00:00
Makefile add bison, gperf 1996-09-10 14:04:37 +00:00
Makefile.inc New files for relocated source code. 1994-01-30 00:31:51 +00:00