aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2014-03-07 11:30:40 +0000
committerRainer Orth <ro@gcc.gnu.org>2014-03-07 11:30:40 +0000
commitcaa16d41773bf442acb6bb8768b1c9a829ca8cab (patch)
treea011634132cdbafc0a5e5fb3639e9669412d7f10 /gcc/config.in
parentf3d83ffe34d35ed33b9d633f80ba5bad41aea5a0 (diff)
downloadgcc-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.in8
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