Added support for compiler-based TLS.

[SVN r86396]