Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2011 18:38:48 +0100
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64
Message-ID:  <20111212173847.GA1035@britannica.bec.de>
In-Reply-To: <20111212172132.GN50300@deviant.kiev.zoral.com.ua>
References:  <201112121103.pBCB3FuT097580@svn.freebsd.org> <20111212171709.GA22002@britannica.bec.de> <20111212172132.GN50300@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 12, 2011 at 07:21:32PM +0200, Kostik Belousov wrote:
> On Mon, Dec 12, 2011 at 06:17:09PM +0100, Joerg Sonnenberger wrote:
> > On Mon, Dec 12, 2011 at 11:03:15AM +0000, Konstantin Belousov wrote:
> > >   To allow use of external references from the dispatch function, resolution
> > >   of the R_MACHINE_IRESOLVE relocations in PLT is postponed until GOT entries
> > >   for PLT are prepared, and normal resolution of the GOT entries is finished.
> > >   Similar to how it is done by GNU, IRELATIVE relocations are resolved in
> > >   advance, instead of normal lazy handling for PLT.
> > 
> > Are you sure that you didn't introduce major locking issues with this?
> What do you mean, exactly ?
> 
> The dispatcher function is called under the bind lock, yes.

What happens if the dispatcher function is trying to re-enter the
dynamic linker?

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111212173847.GA1035>