diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2014-03-07 11:30:40 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2014-03-07 11:30:40 +0000 |
commit | caa16d41773bf442acb6bb8768b1c9a829ca8cab (patch) | |
tree | a011634132cdbafc0a5e5fb3639e9669412d7f10 /gcc/config.in | |
parent | f3d83ffe34d35ed33b9d633f80ba5bad41aea5a0 (diff) | |
download | gcc-caa16d41773bf442acb6bb8768b1c9a829ca8cab.zip gcc-caa16d41773bf442acb6bb8768b1c9a829ca8cab.tar.gz gcc-caa16d41773bf442acb6bb8768b1c9a829ca8cab.tar.bz2 |
Disable local dynamic TLS model on Solaris/x86 if as/ld cannot handle it
* configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag.
(LIB_TLS_SPEC): Save as ld_tls_libs.
(HAVE_AS_IX86_TLSLDMPLT): Define as 1/0.
(HAVE_AS_IX86_TLSLDM): New test.
* configure, config.in: Regenerate.
* config/i386/i386.c (legitimize_tls_address): Fall back to
TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain
cannot support TLS_MODEL_LOCAL_DYNAMIC.
* config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if
instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test.
From-SVN: r208398
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config.in b/gcc/config.in index 5aa3221..af02866 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -369,7 +369,13 @@ #endif -/* Define if your assembler and linker support @tlsldmplt. */ +/* Define to 1 if your assembler and linker support @tlsldm. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_IX86_TLSLDM +#endif + + +/* Define to 1 if your assembler and linker support @tlsldmplt. */ #ifndef USED_FOR_TARGET #undef HAVE_AS_IX86_TLSLDMPLT #endif |