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

Re: [ANNOUNCE] Native POSIX Thread Library 0.1



> On 20 Sep 2002, Luca Barbieri wrote:
> 
> > Great, but how about using code similar to the following rather than
> > hand-coded asm operations?
> > 
> > extern struct pthread __pt_current_struct asm("%gs:0");
> > #define __pt_current (&__pt_current_struct)

Try that under -fpic and you will see the problem.





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