diff options
author | H.J. Lu <hjl@gcc.gnu.org> | 2007-07-06 07:00:46 -0700 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2007-07-06 07:00:46 -0700 |
commit | 6f461e76da5ea2b94ec1f8a9283ca1e2779a5cb0 (patch) | |
tree | 41af967850b0489a1585cb2751cc5c75b0cb21a3 /libgcc/config | |
parent | 374d961c0df2af3d7fc3367d63daec408b09d148 (diff) | |
download | gcc-6f461e76da5ea2b94ec1f8a9283ca1e2779a5cb0.zip gcc-6f461e76da5ea2b94ec1f8a9283ca1e2779a5cb0.tar.gz gcc-6f461e76da5ea2b94ec1f8a9283ca1e2779a5cb0.tar.bz2 |
tls.m4 (GCC_CHECK_CC_TLS): New.
config/
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
* tls.m4 (GCC_CHECK_CC_TLS): New.
libgcc/
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
* config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
and x86_64-*-linux*.
* config/t-tls: New file.
* Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
* configure.ac: Include ../config/enable.m4 and
../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
supports TLS and substitute set_have_cc_tls.
* configure: Regenerated.
libbid/
2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
Updated from Intel BID library:
* bid_conf.h (BID_THREAD): Defined only if both HAVE_CC_TLS
and USE_TLS are defined.
From-SVN: r126416
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/libbid/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config/libbid/bid_conf.h | 2 | ||||
-rw-r--r-- | libgcc/config/t-tls | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/libgcc/config/libbid/ChangeLog b/libgcc/config/libbid/ChangeLog index 96ab3e5..a660fcb 100644 --- a/libgcc/config/libbid/ChangeLog +++ b/libgcc/config/libbid/ChangeLog @@ -1,3 +1,9 @@ +2007-07-06 H.J. Lu <hongjiu.lu@intel.com> + + Updated from Intel BID library: + * bid_conf.h (BID_THREAD): Defined only if both HAVE_CC_TLS + and USE_TLS are defined. + 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> Updated from Intel BID library: diff --git a/libgcc/config/libbid/bid_conf.h b/libgcc/config/libbid/bid_conf.h index 5af98f3..b3038d3 100644 --- a/libgcc/config/libbid/bid_conf.h +++ b/libgcc/config/libbid/bid_conf.h @@ -41,7 +41,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #endif #ifndef BID_THREAD -#ifdef USE_TLS +#if defined (HAVE_CC_TLS) && defined (USE_TLS) #define BID_THREAD __thread #endif #endif diff --git a/libgcc/config/t-tls b/libgcc/config/t-tls new file mode 100644 index 0000000..405128f --- /dev/null +++ b/libgcc/config/t-tls @@ -0,0 +1,2 @@ +# Use thread-local storage +INTERNAL_CFLAGS += -DUSE_TLS |