This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: wanting to implement Thread Local Storage on windows and am looking for pointers into the GCC codebase
- From: Richard Henderson <rth at redhat dot com>
- To: Jonathan Wilson <jonwil at tpgi dot com dot au>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Fri, 10 Oct 2003 13:32:21 -0700
- Subject: Re: wanting to implement Thread Local Storage on windows and am looking for pointers into the GCC codebase
- References: <3F86ADD8.1020604@tpgi.com.au>
On Fri, Oct 10, 2003 at 09:02:16PM +0800, Jonathan Wilson wrote:
> Info on how TLS works in win32 is here:
> http://www.winehq.org/hypermail/wine-devel/2003/08/0338.html
I had a very hard time following this.
The absolute first thing you need to do is modify binutils to
be able to handle this. Once you do that, you can show me the
assembly code you'd write for accessing tls variables both in
the main executable and dllimported from a dll (if that's even
possible).
Once you do that, I can show you the parts of the x86 backend
that need changing.
r~