svn commit: r228435 - in head/libexec/rtld-elf: . amd64 arm i386 ia64 mips powerpc powerpc64 sparc64

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 12 17:39:08 UTC 2011


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


More information about the svn-src-all mailing list