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.
pgpwVZZkn5llo.pgp
Description: PGP signature