This is the mail archive of the gcc-help@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: TLS, gcc optimizations, and PIC on x86


Kevin Klues <klueska@cs.berkeley.edu> writes:

> Specifically, I want to be able to change the value of my TLS
> descriptor as well as access TLS variables from that new descriptor
> within the body of a single function.

As you've discovered, gcc does not support that.  It seems like a highly
unusual feature to want.  It would not be hard to change gcc to add an
option to support this, but I'm not sure it's worth the ongoing
maintenance cost.

Ian


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