This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wanting to implement Thread Local Storage on windows and am looking for pointers into the GCC codebase


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]