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

Kostik Belousov kostikbel at gmail.com
Mon Dec 12 17:21:38 UTC 2011


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20111212/a06883fb/attachment.pgp


More information about the svn-src-head mailing list