From 23d50abbe40cec73fdd660e736a96684e695f069 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 2 Nov 2010 16:27:26 +0000 Subject: [PATCH] configure.ac (*-*-irix6*): Disable set_have_as_tls. * configure.ac (*-*-irix6*): Disable set_have_as_tls. (*-*-osf*): Likewise. * configure: Regenerate. From-SVN: r166200 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 10 ++++++++++ gcc/configure.ac | 10 ++++++++++ 3 files changed, 26 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 999ee028c6c..05337716498 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-11-02 Rainer Orth + + * configure.ac (*-*-irix6*): Disable set_have_as_tls. + (*-*-osf*): Likewise. + * configure: Regenerate. + 2010-11-02 H.J. Lu * config/i386/driver-i386.c (host_detect_local_cpu): Updated diff --git a/gcc/configure b/gcc/configure index da157e09f74..013ddec08ca 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 966dbd38bc1..9d0714bea2c 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 -- 2.30.2