bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] linuxthreads/sysdeps/i386/useldt.h


From: Roland McGrath
Subject: Re: [PATCH] linuxthreads/sysdeps/i386/useldt.h
Date: Sat, 24 Feb 2001 19:26:33 -0500 (EST)

> Roland McGrath <address@hidden> writes:
> 
> > What is wrong with using:
> > 
> > extern struct _pthread_descr_struct _mydata_ __asm__("%gs:0");
> > #define THREAD_GETMEM(d, mem) (_mydata.mem)
> 
> It doesn't work, try it (you made the same suggestion back when I've
> introduced this code).

I tried it before I suggested it.  It worked in the cases I tried.  Can you
show me a case that fails to work?  I can easily accept that many uses of
this syntax the compiler might do in general would fail, but I think it
should be easy to constrain the uses to ones where it is never a problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]