From: ro Date: Tue, 16 Dec 2008 13:09:57 +0000 (+0000) Subject: * configure.ac (gcc_cv_ld_hidden): Sun ld on Solaris 9 and up X-Git-Tag: upstream/4.9.2~38435 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8177d9d5c9b4aa996982e8d2e4e3919b48402415;p=platform%2Fupstream%2Flinaro-gcc.git * configure.ac (gcc_cv_ld_hidden): Sun ld on Solaris 9 and up supports hidden. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142779 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c941cd2..e0b8726 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-12-16 Rainer Orth + + * configure.ac (gcc_cv_ld_hidden): Sun ld on Solaris 9 and up + supports hidden. + * configure: Regenerate. + 2008-12-16 Richard Earnshaw PR target/37436 diff --git a/gcc/configure b/gcc/configure index 9da1269..20a4b8a 100755 --- a/gcc/configure +++ b/gcc/configure @@ -21394,6 +21394,9 @@ else hppa64*-*-hpux* | ia64*-*-hpux*) gcc_cv_ld_hidden=yes ;; + *-*-solaris2.9* | *-*-solaris2.1[0-9]*) + gcc_cv_ld_hidden=yes + ;; *) gcc_cv_ld_hidden=no ;; diff --git a/gcc/configure.ac b/gcc/configure.ac index 559332f..0ec9aa8 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -2104,10 +2104,10 @@ AC_CACHE_CHECK(linker for .hidden support, gcc_cv_ld_hidden, gcc_cv_ld_hidden=yes fi else +changequote(,)dnl gcc_cv_ld_hidden=yes ld_ver=`$gcc_cv_ld --version 2>/dev/null | sed 1q` if echo "$ld_ver" | grep GNU > /dev/null; then -changequote(,)dnl ld_vers=`echo $ld_ver | sed -n \ -e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p'` ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` @@ -2131,18 +2131,21 @@ changequote(,)dnl gcc_cv_ld_hidden=no fi fi -changequote([,])dnl fi else case "${target}" in hppa64*-*-hpux* | ia64*-*-hpux*) gcc_cv_ld_hidden=yes ;; + *-*-solaris2.9* | *-*-solaris2.1[0-9]*) + gcc_cv_ld_hidden=yes + ;; *) gcc_cv_ld_hidden=no ;; esac fi +changequote([,])dnl fi]) libgcc_visibility=no AC_SUBST(libgcc_visibility)