[Top][All Lists]

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

Re: %gs:0 thread pseudoregister in oskit-mach

From: Roland McGrath
Subject: Re: %gs:0 thread pseudoregister in oskit-mach
Date: Wed, 24 Apr 2002 02:42:28 -0400 (EDT)

> I know this is irrelevant for oskit-mach proper, but it may be
> interesting to know if you're introducing any dependency in,
> say, glibc/pthreads:
>   In the L4 V4 spec, Appendix A (x86 Interface), register %gs
>   is used to point to the UTCB of the current thread (read-only).

You may need to change that.  The %gs:0 word will become part of the
ELF/x86 ABI for TLS support.

reply via email to

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