<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/gnu/usr.bin/ld/rtld, branch upstream/2.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F2.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F2.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>1997-01-20T19:37:13Z</updated>
<entry>
<title>Merge bug fix from main branch 1.43 -&gt; 1.44:  If a library is found</title>
<updated>1997-01-20T19:37:13Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1997-01-20T19:37:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=561a4a3115ee50e18d467829f457b77c9153a91d'/>
<id>urn:sha1:561a4a3115ee50e18d467829f457b77c9153a91d</id>
<content type='text'>
in the hints file, but the library doesn't exist, ignore the hint.
</content>
</entry>
<entry>
<title>If errors occur during the loading of the shared libraries required by</title>
<updated>1996-10-24T16:24:19Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1996-10-24T16:24:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ab6c6377b3dfdb45f4a21f01cf545219f2b71dfe'/>
<id>urn:sha1:ab6c6377b3dfdb45f4a21f01cf545219f2b71dfe</id>
<content type='text'>
the main program, report them directly from the dynamic linker and die
there, rather than returning an error message to crt0.o.  This enables
the printing of error messages even for old executables, whose version
of crt0.o is not able to print them.

This fix closes PR bin/1869.

The code in crt0.o for printing error messages from the dynamic linker
is no longer used, because of this change.  But it must remain, for
backward compatibility with older dynamic linkers.
</content>
</entry>
<entry>
<title>Fix two minor typos in the manual page.</title>
<updated>1996-10-18T04:49:43Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1996-10-18T04:49:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=16804804dfa1f0fa42c90e4598e5c34552cf0bf4'/>
<id>urn:sha1:16804804dfa1f0fa42c90e4598e5c34552cf0bf4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the search directories from the hints file only the first time it is</title>
<updated>1996-10-10T23:16:50Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1996-10-10T23:16:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e5bbb2e4b5520a16947e4535a4c29cd4a3139882'/>
<id>urn:sha1:e5bbb2e4b5520a16947e4535a4c29cd4a3139882</id>
<content type='text'>
opened.  After that, the directories are already present, and there is
no point in adding them again.  This doesn't fix any bugs; it's just for
efficiency.
</content>
</entry>
<entry>
<title>Fix a bug that caused a segmentation violation if dlsym() was called</title>
<updated>1996-10-10T04:10:32Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1996-10-10T04:10:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9151bb8d2db6a6f8fc9420adb6b9deb8b278cf9c'/>
<id>urn:sha1:9151bb8d2db6a6f8fc9420adb6b9deb8b278cf9c</id>
<content type='text'>
with its first argument equal to NULL.
</content>
</entry>
<entry>
<title>There's no need to 'unsetenv()' unsafe environment variables explicitly</title>
<updated>1996-10-01T16:09:18Z</updated>
<author>
<name>Nate Williams</name>
<email>nate@FreeBSD.org</email>
</author>
<published>1996-10-01T16:09:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ac501e21b60a4131e31b55d21f6ee72cc7c5565'/>
<id>urn:sha1:9ac501e21b60a4131e31b55d21f6ee72cc7c5565</id>
<content type='text'>
since rt_readenv() already takes care of not setting unsafe variables.
This was part of the changes I submitted to Peter and John during the
review which must have gotten missed.
</content>
</entry>
<entry>
<title>Sigh, oh well, here's my obligigatory "oops" commit.  I don't quite know</title>
<updated>1996-10-01T11:54:38Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-10-01T11:54:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3e17261bace9876c3388d157203936f49f808b94'/>
<id>urn:sha1:3e17261bace9876c3388d157203936f49f808b94</id>
<content type='text'>
how I managed to get this out of sync, but I did.  I guess that's what I
get for directly committing from different machines that I was testing on.

Pointed out by: Paul Traina &lt;pst@freebsd.org&gt;
</content>
</entry>
<entry>
<title>Update to handle new version ld.so.hints and info in executable for</title>
<updated>1996-10-01T01:52:03Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1996-10-01T01:52:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5584286a91aaacc3799d04087ad0dcb4b5c12712'/>
<id>urn:sha1:5584286a91aaacc3799d04087ad0dcb4b5c12712</id>
<content type='text'>
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 -&gt; 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
</content>
</entry>
<entry>
<title>add missing comma(s) in .Xr macros</title>
<updated>1996-09-23T22:24:39Z</updated>
<author>
<name>Wolfram Schneider</name>
<email>wosch@FreeBSD.org</email>
</author>
<published>1996-09-23T22:24:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e0e5145ce6dc9de9aa4d1ce7a36a8dcf06b96585'/>
<id>urn:sha1:e0e5145ce6dc9de9aa4d1ce7a36a8dcf06b96585</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `install -C' instead of lots of shell commands to install ld.so</title>
<updated>1996-09-12T03:42:54Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>1996-09-12T03:42:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=87d0dcafca02cef32696f490eca1748ed02ffc47'/>
<id>urn:sha1:87d0dcafca02cef32696f490eca1748ed02ffc47</id>
<content type='text'>
as atomically as possible.

(Immutable targets can't be renamed without opening a window when
neither the source nor the target is immutable.  Perhaps there
should be a rename_immutable syscall to do this if unsetting the
immutable flags would work.)
</content>
</entry>
</feed>
