tech-userlevel archive

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

Re: TLS support, MI part



On Sat, Mar 19, 2011 at 11:14:28AM +0000, Andrew Doran wrote:
> On Fri, Mar 18, 2011 at 06:07:31PM +0100, Joerg Sonnenberger wrote:
> 
> > > > +(7) Implement _lwp_getprivate_fast() in machine/mcontext.h and set
> > > > +__HAVE___LWP_GETPRIVATE_FAST.
> > > 
> > > Perhas wrap these with #ifndef _KERNEL.  The x86 kernels are free of 
> > > inline
> > > assmebly allowing them to be compiled with compilers other than gcc; this
> > > block may cause problems.
> > 
> > Which compiler are we talking about? I am using this with a compiler
> > other than GCC.
> 
> pcc and anything else that comes along.

I'm not sure what version of PCC you are using, but the one I have
around here (from CVS) is quite happy to accept the code in AMD64's
mcontext.h.

Joerg


Home | Main Index | Thread Index | Old Index