aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure10
-rw-r--r--gcc/configure.ac10
3 files changed, 26 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 999ee02..0533771 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.ac (*-*-irix6*): Disable set_have_as_tls.
+ (*-*-osf*): Likewise.
+ * configure: Regenerate.
+
2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/driver-i386.c (host_detect_local_cpu): Updated
diff --git a/gcc/configure b/gcc/configure
index da157e0..013ddec 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -22443,6 +22443,16 @@ if test $gcc_cv_as_tls = yes; then
fi
fi
case "$target" in
+ *-*-irix6*)
+ # IRIX 6.5 rld and libc.so lack TLS support, so even if gas and gld
+ # with TLS support are in use, native TLS cannot work.
+ set_have_as_tls=no
+ ;;
+ *-*-osf*)
+ # Tru64 UNIX loader and libc.so lack TLS support, so even if gas and
+ # gld with TLS support are in use, native TLS cannot work.
+ set_have_as_tls=no
+ ;;
# TLS was introduced in the Solaris 9 FCS release and backported to
# Solaris 8 patches. Support for GNU-style TLS on x86 was only
# introduced in Solaris 9 4/04, replacing the earlier Sun style that Sun
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 966dbd3..9d0714b 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2982,6 +2982,16 @@ else
[set_have_as_tls=yes])
fi
case "$target" in
+ *-*-irix6*)
+ # IRIX 6.5 rld and libc.so lack TLS support, so even if gas and gld
+ # with TLS support are in use, native TLS cannot work.
+ set_have_as_tls=no
+ ;;
+ *-*-osf*)
+ # Tru64 UNIX loader and libc.so lack TLS support, so even if gas and
+ # gld with TLS support are in use, native TLS cannot work.
+ set_have_as_tls=no
+ ;;
# TLS was introduced in the Solaris 9 FCS release and backported to
# Solaris 8 patches. Support for GNU-style TLS on x86 was only
# introduced in Solaris 9 4/04, replacing the earlier Sun style that Sun