wanting to implement Thread Local Storage on windows and am looking for pointers into the GCC codebase
Richard Henderson
rth@redhat.com
Sat Oct 11 01:14:00 GMT 2003
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~
More information about the Gcc
mailing list