New pthreads library

Roland McGrath roland@frob.com
Mon Aug 30 14:23:00 GMT 1999


> This is pretty cool, but it won't work with -fpic.  There 
> we'll try something like
> 
> 	movl	%gs:0@GOT(%ebx),%eax
> 	movl	4(%eax), %eax

Nag dab it!  I knew there was something.  Oh well.
I don't suppose it would be worth adding __attribute__((segment ("%gs")))
on extern decls.  


More information about the Libc-hacker mailing list