On Wed, Mar 29, 2006 at 01:53:31PM -0500, James Lemke wrote: > The generated asm makes the reference as: > bl [EMAIL PROTECTED] # 141 *call_value_nonlocal_sysv/1 [length = 4] > > And for this, gas generates: > R_PPC_REL24 __pthread_mutex_lock
Nope, you're looking at the wrong asm. unlock vs. lock (and underscore difference too). As rth said, you need R_PPC_PLTREL24. My guess is that you have some buggy asm somewhere lacking @plt on the call. -- Alan Modra IBM OzLabs - Linux Technology Centre