summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:55:37 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:55:37 +0000
commit8b06e4c86e4c686156297d428a896f48e17d356e (patch)
tree12ba928c61b07dda926455c07795fd85bfa5760c /gcc/configure
parent8afca39d3cd92546137819f7e33065b7c32131ca (diff)
downloadgcc-8b06e4c86e4c686156297d428a896f48e17d356e.tar.gz
* configure.ac: Check for Solaris 8 ld with .hidden support.
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index c828627c05e..80b93620083 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -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.