OSDN Git Service

* configure.ac: Check for Solaris 8 ld with .hidden support.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Sep 2010 21:55:37 +0000 (21:55 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Sep 2010 21:55:37 +0000 (21:55 +0000)
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164815 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index f8172b3..b277f35 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac: Check for Solaris 8 ld with .hidden support.
+       * configure: Regenerate.
+
 2010-09-30  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR middle-end/45758
index c828627..80b9362 100755 (executable)
@@ -21409,6 +21409,15 @@ 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.
index 0e68b30..65ae072 100644 (file)
@@ -2235,6 +2235,15 @@ 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.