diff options
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 74 |
1 files changed, 3 insertions, 71 deletions
diff --git a/gcc/configure b/gcc/configure index ad34e55..9bf2298 100755 --- a/gcc/configure +++ b/gcc/configure @@ -22264,15 +22264,6 @@ else hppa64*-*-hpux* | ia64*-*-hpux*) gcc_cv_ld_hidden=yes ;; - *-*-solaris2.8*) - # .hidden support was backported to Solaris 8, starting with ld - # version 1.276. - if test "$ld_vers_minor" -ge 276; then - gcc_cv_ld_hidden=yes - else - gcc_cv_ld_hidden=no - fi - ;; *-*-solaris2.9* | *-*-solaris2.1[0-9]*) # Support for .hidden in Sun ld appeared in Solaris 9 FCS, but # .symbolic was only added in Solaris 9 12/02. @@ -22470,22 +22461,6 @@ EOF _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : - case "${target}" in - *-*-solaris2.8*) - # .init_array/.fini_array support was introduced in Solaris 8 - # patches 109147-08 (sparc) and 109148-08 (x86). Since ld.so.1 and - # ld are guaranteed to be updated in lockstep, we can check ld -V - # instead. Unfortunately, proper ld version numbers were only - # introduced in rev. -14, so we check for that. - if test "$gcc_cv_sun_ld_vers_minor" -lt 272; then - gcc_cv_initfini_array=no - fi - ;; - *-*-solaris2.9* | *-*-solaris2.1[0-9]*) - # .init_array/.fini_array support is present since Solaris 9 FCS. - ;; - esac - else gcc_cv_initfini_array=no fi @@ -23611,10 +23586,9 @@ if test $gcc_cv_as_tls = yes; then fi fi case "$target" in - # 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 - # ld and GCC don't support any longer. + # TLS was introduced in the Solaris 9 FCS release. Support for GNU-style + # TLS on x86 was only introduced in Solaris 9 4/04, replacing the earlier + # Sun style that Sun ld and GCC don't support any longer. *-*-solaris2.*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker and ld.so.1 TLS support" >&5 $as_echo_n "checking linker and ld.so.1 TLS support... " >&6; } @@ -23626,14 +23600,6 @@ $as_echo_n "checking linker and ld.so.1 TLS support... " >&6; } ld_tls_support=yes else case "$target" in - # Solaris 8/x86 ld has GNU style TLS support since version 1.280. - i?86-*-solaris2.8) - min_tls_ld_vers_minor=280 - ;; - # Solaris 8/SPARC ld has TLS support since version 1.272. - sparc*-*-solaris2.8) - min_tls_ld_vers_minor=272 - ;; # Solaris 9/x86 ld has GNU style TLS support since version 1.374. i?86-*-solaris2.9) min_tls_ld_vers_minor=374 @@ -23658,33 +23624,6 @@ $as_echo "$ld_tls_support" >&6; } LIBS= LDFLAGS= - { $as_echo "$as_me:${as_lineno-$LINENO}: checking alternate thread library" >&5 -$as_echo_n "checking alternate thread library... " >&6; } - case "$target" in - # TLS support was backported to Solaris 8 patches, but only lives in - # the alternate thread library which became the default in Solaris 9. - # We want to always use that, irrespective of TLS support. - *-*-solaris2.8) - # Take multilib subdir into account. There's no spec to handle - # this. The 64 symlink exists since Solaris 8. - lwp_dir=/usr/lib/lwp - lwp_spec="-L$lwp_dir%{m64:/64} -R$lwp_dir%{m64:/64}" - LDFLAGS="-L$lwp_dir -R$lwp_dir" - ;; - *-*-solaris2*) - lwp_dir="none" - lwp_spec="" - ;; - esac - # Always define LIB_THREAD_LDFLAGS_SPEC, even without TLS support. - -cat >>confdefs.h <<_ACEOF -#define LIB_THREAD_LDFLAGS_SPEC "$lwp_spec" -_ACEOF - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lwp_dir" >&5 -$as_echo "$lwp_dir" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking library containing $tga_func" >&5 $as_echo_n "checking library containing $tga_func... " >&6; } # Before Solaris 10, __tls_get_addr (SPARC/x64) resp. ___tls_get_addr @@ -23754,13 +23693,6 @@ fi if test $set_have_as_tls = no; then LIBS= fi - # Even without TLS support on Solaris 8, explicitly link with libthread - # to guarantee that the alternate thread library is used. - case "$target" in - *-*-solaris2.8) - LIBS=-lthread - ;; - esac # Always define LIB_TLS_SPEC, even without TLS support. cat >>confdefs.h <<_ACEOF |