Re: [ANNOUNCE] Native POSIX Thread Library 0.1

From: Roland McGrath (roland@redhat.com)
Date: Fri Sep 20 2002 - 13:40:43 EST


> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:31 EST