aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index e75215a..2b6de17 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -1592,6 +1592,15 @@ if test x"$gcc_cv_as_hidden" = xyes; then
fi
AC_MSG_RESULT($gcc_cv_as_hidden)
libgcc_visibility=$gcc_cv_as_hidden
+case "$target" in
+ mips-sgi-irix6*o32)
+ if test x"$gnu_ld_flag" = x"no"; then
+ # Even if using gas with .hidden support, the resulting object files
+ # cannot be linked with the IRIX 6 O32 linker.
+ libgcc_visibility=no
+ fi
+ ;;
+esac
AC_SUBST(libgcc_visibility)
AC_MSG_CHECKING(assembler leb128 support)