<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/libexec/rtld-elf, branch release/7.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-05-01T02:51:58Z</updated>
<entry>
<title>Copy releng/7.2 to release/7.2.0 for FreeBSD 7.2-RELEASE.</title>
<updated>2009-05-01T02:51:58Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2009-05-01T02:51:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b205d83df7763ca1f099bce5ac12a05862a626c4'/>
<id>urn:sha1:b205d83df7763ca1f099bce5ac12a05862a626c4</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.2-RELEASE image.
</content>
</entry>
<entry>
<title>Mostly synchronize  lib/libthr and sys/kern/kern_umtx.c with the code</title>
<updated>2009-03-24T20:57:10Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2009-03-24T20:57:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5da9fe5b5d84c14339b36ecf7f6f52b5b95076cd'/>
<id>urn:sha1:5da9fe5b5d84c14339b36ecf7f6f52b5b95076cd</id>
<content type='text'>
from HEAD.

Since libkse is still built on RELENG_7, pthread_cleanup_push/pop
are left as the functions, but the support code in libthr is present for
the macro versions.

Malloc in RELENG_7 does not require thread exit hook, but I decided
to add empty handler for it, instead of removing callback from thr_exit().

No mergeinfo since this change is prepared by patching libthr and then
bringing in required missed bits.

Requested by:	bms
Reviewed by:	davidxu
Tested by:	bms, Mykola Dzham &lt;i levsha org ua&gt;
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC r182698 (by kan):</title>
<updated>2008-11-05T12:32:42Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-11-05T12:32:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=be65c35a7eee6c68d1ef2e1734e039c15a654e5e'/>
<id>urn:sha1:be65c35a7eee6c68d1ef2e1734e039c15a654e5e</id>
<content type='text'>
Make sure internal rtld malloc routines are not called from unlocked
contexts as rtld's malloc is not thread safe and is only supposed to be
called with exclusive bind lock already held.

Approved by:	re (kensmith), kan
</content>
</entry>
<entry>
<title>MFC r183737 (by kan):</title>
<updated>2008-11-05T12:28:44Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-11-05T12:28:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d558f5be79e0de6a7d89d7fac4648de2dddb0a54'/>
<id>urn:sha1:d558f5be79e0de6a7d89d7fac4648de2dddb0a54</id>
<content type='text'>
Allow strong symbols to override weak ones for lookups done through
dlsym with RTLD_NEXT/RTLD_SELF handles.
Allow symbols from ld-elf.so to be located this way too.

Approved by:	re (kensmith), kan
</content>
</entry>
<entry>
<title>Merge revision 183061 from head to stable/7.</title>
<updated>2008-10-31T09:09:22Z</updated>
<author>
<name>David Xu</name>
<email>davidxu@FreeBSD.org</email>
</author>
<published>2008-10-31T09:09:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5599f96ea033a753d967531311ac5bdfaaba96d8'/>
<id>urn:sha1:5599f96ea033a753d967531311ac5bdfaaba96d8</id>
<content type='text'>
&gt; Allow multiple locks to be acquired by detecting corresponding
&gt; bit flag, otherwise if a thread acquired a lock, another thread
&gt; or the current thread itself can no longer acquire another lock
&gt; because thread_mask_set() return whole flag word, this results
&gt; bit leaking in the word and misbehavior in later locking and
&gt; unlocking.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC</title>
<updated>2008-05-20T09:38:44Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2008-05-20T09:38:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=469c8a4996284cd1fcc040f4125519e6babaa50b'/>
<id>urn:sha1:469c8a4996284cd1fcc040f4125519e6babaa50b</id>
<content type='text'>
rev. 1.126 of libexec/rtld-elf/rtld.c
rev. 1.5 of libexec/rtld-elf/rtld_lock.c
rev. 1.3 of libexec/rtld-elf/rtld_lock.h

Fix the problem with the C++ exception handling for the multithreaded
programs.

From the PR description:
The gcc runtime's _Unwind_Find_FDE function, invoked during exception
handling's stack unwinding, is not safe to execute from within multiple
threads. FreeBSD' s dl_iterate_phdr() however permits multiple threads
to pass through it though. The result is surprisingly reliable infinite
looping of one or more threads if they just happen to be unwinding at
the same time.

Introduce the new lock that is write locked around the dl_iterate_pdr,
thus providing required exclusion for the stack unwinders.

PR:	threads/123062
Submitted by:	Andy Newman &lt;an at atrn org&gt;
Reviewed by:	kan
</content>
</entry>
<entry>
<title>MFC: libexec/rtld-elf/sparc64/reloc.c 1.16,</title>
<updated>2007-10-21T21:09:55Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2007-10-21T21:09:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c23470b57d7243e1087740706ff924d0ef70ec0b'/>
<id>urn:sha1:c23470b57d7243e1087740706ff924d0ef70ec0b</id>
<content type='text'>
     sys/sparc64/sparc64/elf_machdep.c 1.24

- Fix the handling of R_SPARC_OLO10, which is a bit of a special case
  in the way we implement handling of relocations.
  As for the kernel part this fixes the loading of lots of modules,
  which failed to load due to unresolvable symbols when built after
  the GCC 4.2.0 import. This wasn't due to a change in GCC itself
  though but one of several changes in configuration done along the
  import. Specfically, HAVE_AS_REGISTER_PSEUDO_OP, which causes GCC
  to denote global registers used for scratch purposes and in turn
  GAS uses R_SPARC_OLO10 relocations for, is now defined.
  While at it replace some more ELF_R_TYPE which should have been
  ELF64_R_TYPE_ID but didn't cause problems so far.
- Sync a sanity check between kernel and rtld(1) and change it to be
  maintenance free regarding the type used for the lookup table.
- Sprinkle const on lookup tables.
- Use __FBSDID.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Unbreak the dynamic linker by not creating a cache for rtld-elf</title>
<updated>2007-07-15T22:52:15Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2007-07-15T22:52:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99227f1ec435d520c2350883a07acc98e248fc7d'/>
<id>urn:sha1:99227f1ec435d520c2350883a07acc98e248fc7d</id>
<content type='text'>
itself. It needs mmap(2), which now needs getosreldate(3) and
which in turn uses a global variable to cache the result. This
cannot be done before linking is done.

See also: ../sparc64/reloc.c:1.15
Approved by: re (kensmith)
</content>
</entry>
<entry>
<title>Cache does not serve any purpose when rtld is relocating itself, do</title>
<updated>2007-07-13T16:18:43Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2007-07-13T16:18:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6e5e629f070fc8218702f29cdbdf434fc02b4eaa'/>
<id>urn:sha1:6e5e629f070fc8218702f29cdbdf434fc02b4eaa</id>
<content type='text'>
not bother allocating one.

Submitted by:	kan
Approved by:	re (bmah)
</content>
</entry>
<entry>
<title>Add  r_debug_state to the list of symbols exported from rtld. GDB needs to</title>
<updated>2007-07-11T23:07:37Z</updated>
<author>
<name>Alexander Kabaev</name>
<email>kan@FreeBSD.org</email>
</author>
<published>2007-07-11T23:07:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=03c4fb02ddd7023b42a3f524282c3b5a62d7de49'/>
<id>urn:sha1:03c4fb02ddd7023b42a3f524282c3b5a62d7de49</id>
<content type='text'>
be able to find it in order to trap shared library events from rtld.

Approved by:	re (rwatson)
</content>
</entry>
</feed>
