New pthreads library

Roland McGrath frob@MIT.EDU
Mon Aug 30 12:12:00 GMT 1999


> Roland McGrath <roland@frob.com> writes:
> 
> > Have you tried it?
> 
> Yes, I did.  And for my test case I got something like
> 
> 	movl $%gs:0, %eax
> 	movl 4(%eax), %eax

Ah, yes.  That is what you will get for:

	extern struct foo seg asm("%gs:0");
	... = &seg;



More information about the Libc-hacker mailing list