<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/gnu/usr.bin/ld/rtld, branch stable/10</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F10'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>1998-06-01T14:11:28Z</updated>
<entry>
<title>These files were moved elsewhere (sbin/ldconfig, libexec/rtld-aout,</title>
<updated>1998-06-01T14:11:28Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1998-06-01T14:11:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7b001f8ee5b3a760d1839d43d873006781cd21dc'/>
<id>urn:sha1:7b001f8ee5b3a760d1839d43d873006781cd21dc</id>
<content type='text'>
usr.bin/ldd) as they stand alone and are under bsd-style license.
</content>
</entry>
<entry>
<title>ELF preparation step 2:</title>
<updated>1998-05-26T20:12:56Z</updated>
<author>
<name>Søren Schmidt</name>
<email>sos@FreeBSD.org</email>
</author>
<published>1998-05-26T20:12:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cabb97dcbf9a5a7e0ce3b2cfef019afdfc9a21dc'/>
<id>urn:sha1:cabb97dcbf9a5a7e0ce3b2cfef019afdfc9a21dc</id>
<content type='text'>
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world &amp; reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
</content>
</entry>
<entry>
<title>Implement dladdr.</title>
<updated>1998-02-06T16:46:46Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1998-02-06T16:46:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=663690b388e5292163b29dc674747e7112651ebf'/>
<id>urn:sha1:663690b388e5292163b29dc674747e7112651ebf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make emacs work again.  This is a workaround for the fact that the</title>
<updated>1997-12-05T02:06:37Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1997-12-05T02:06:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6210388a93a1ddd004d48a86adae0af467c42fa2'/>
<id>urn:sha1:6210388a93a1ddd004d48a86adae0af467c42fa2</id>
<content type='text'>
emacs a.out file, self-generated by emacs's "unexec" function in
"unexsunos4.c", is invalid.  In particular, its "_end" symbol has
the wrong value.  The dynamic linker was using the value of that
symbol to initialize its sbrk break level.

The workaround is to peek at the executable's a.out header in
memory, and calculate what "_end" should be based on the segment
sizes.

I will work out a fix for emacs and send it to the FSF.  This
dynamic linker workaround is still worthwhile, if only to avoid
forcing all emacs users to build a new version.

Note: xemacs gives a bogus warning at startup, for related reasons.
The warning is harmless and can safely be ignored.  I will send a
patch to the xemacs maintainers to get rid of it, and meanwhile
add a patch file to our port.
</content>
</entry>
<entry>
<title>Get rid of the dynamic linker's internal malloc package, and arrange</title>
<updated>1997-11-29T03:32:48Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1997-11-29T03:32:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=08bdd3d27d2cfe8dafe2056da6f5e57e70f646e7'/>
<id>urn:sha1:08bdd3d27d2cfe8dafe2056da6f5e57e70f646e7</id>
<content type='text'>
things so that it uses the same malloc as is used by the program
being executed.  This has several advantages, the big one being
that you can now debug core dumps from dynamically linked programs
and get useful information out of them.  Until now, that didn't
work.  The internal malloc package placed the tables describing
the loaded shared libraries in a mapped region of high memory that
was not written to core files.  Thus the debugger had no way of
determining what was loaded where in memory.  Now that the dynamic
linker uses the application's malloc package (normally, but not
necessarily, the system malloc), its tables end up in the regular
heap area where they will be included in core dumps.  The debugger
now works very well indeed, thank you very much.

Also ...

Bring the program a little closer to conformance with style(9).
There is still a long way to go.

Add minimal const correctness changes to get rid of compiler warnings
caused by the recent const changes in &lt;dlfcn.h&gt; and &lt;link.h&gt;.

Improve performance by eliminating redundant calculations of symbols'
hash values.
</content>
</entry>
<entry>
<title>Many places in the code NULL is used in integer context, where</title>
<updated>1997-09-18T14:08:40Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1997-09-18T14:08:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d030d2d2aee170303ffb5eed3183616ef7ddfbb4'/>
<id>urn:sha1:d030d2d2aee170303ffb5eed3183616ef7ddfbb4</id>
<content type='text'>
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul &lt;arnej@imf.unit.no&gt;
</content>
</entry>
<entry>
<title>spelling corrections.</title>
<updated>1997-09-13T16:01:53Z</updated>
<author>
<name>Wolfram Schneider</name>
<email>wosch@FreeBSD.org</email>
</author>
<published>1997-09-13T16:01:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f6b31571f6344141366c23c3f115defec88e8855'/>
<id>urn:sha1:f6b31571f6344141366c23c3f115defec88e8855</id>
<content type='text'>
PR: docs/4450
Submitted by: josh@quick.net
</content>
</entry>
<entry>
<title>- In dlsym(), if the lookup fails using the original symbol, prepend an</title>
<updated>1997-08-19T23:33:45Z</updated>
<author>
<name>Nate Williams</name>
<email>nate@FreeBSD.org</email>
</author>
<published>1997-08-19T23:33:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=39f2a9e2dbcb75fc521ec64c193600724da73d41'/>
<id>urn:sha1:39f2a9e2dbcb75fc521ec64c193600724da73d41</id>
<content type='text'>
  underscore and try looking it up again.  This is a non-issue if we
  switch to ELF.

Reviewed by:	sef, jdp
</content>
</entry>
<entry>
<title>Implement dlsym(RTLD_NEXT, symbol).</title>
<updated>1997-08-02T04:56:44Z</updated>
<author>
<name>John Polstra</name>
<email>jdp@FreeBSD.org</email>
</author>
<published>1997-08-02T04:56:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7e7344e2f4ebf22d7c6c4ba76a775ffc8c6c2f48'/>
<id>urn:sha1:7e7344e2f4ebf22d7c6c4ba76a775ffc8c6c2f48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BYOC - Bring Your Own Calloc(3)</title>
<updated>1997-06-22T17:48:35Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1997-06-22T17:48:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8de2b8b5046595f4b796f4c5426c8c0a3c5ac08e'/>
<id>urn:sha1:8de2b8b5046595f4b796f4c5426c8c0a3c5ac08e</id>
<content type='text'>
Someday I'm going to face the music and dispose of this private malloc copy.
</content>
</entry>
</feed>
