OSDN Git Service

* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jun 2003 17:18:00 +0000 (17:18 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Jun 2003 17:18:00 +0000 (17:18 +0000)
IRIX 6 without GNU ld.
* configure: Regenerate.

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

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 91e3bea..6181a01 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in (gcc_cv_as_hidden): Disable .hidden completely on
+       IRIX 6 without GNU ld.
+       * configure: Regenerate.
+
 2003-06-03  Roger Sayle  <roger@eyesopen.com>
 
        * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
index c03bd4d..71f2da1 100755 (executable)
@@ -2434,7 +2434,7 @@ fi
 
 
 # Find some useful tools
-for ac_prog in gawk mawk nawk awk
+for ac_prog in mawk gawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -7918,14 +7918,6 @@ elif test x$gcc_cv_as != x; then
                fi
        fi
 fi
-if test x"$gcc_cv_as_hidden" = xyes; then
-       cat >> confdefs.h <<\EOF
-#define HAVE_GAS_HIDDEN 1
-EOF
-
-fi
-echo "$ac_t""$gcc_cv_as_hidden" 1>&6
-libgcc_visibility=$gcc_cv_as_hidden
 case "$target" in
   mips-sgi-irix6*)
     if test x"$gnu_ld_flag" = x"no"; then
@@ -7935,10 +7927,18 @@ case "$target" in
       # -call_shared (passed by default to the linker) and -r (used to
       # link the object file generated without .hidden directives with
       # one that hides symbols), so we also lose.
-      libgcc_visibility=no
+      gcc_cv_as_hidden=no
     fi
     ;;
 esac
+if test x"$gcc_cv_as_hidden" = xyes; then
+       cat >> confdefs.h <<\EOF
+#define HAVE_GAS_HIDDEN 1
+EOF
+
+fi
+echo "$ac_t""$gcc_cv_as_hidden" 1>&6
+libgcc_visibility=$gcc_cv_as_hidden
 
 
 echo $ac_n "checking assembler leb128 support""... $ac_c" 1>&6
index a37f1cc..4f430bf 100644 (file)
@@ -1874,12 +1874,6 @@ changequote(,)dnl
 changequote([,])dnl
        fi
 fi
-if test x"$gcc_cv_as_hidden" = xyes; then
-       AC_DEFINE(HAVE_GAS_HIDDEN, 1,
-               [Define if your assembler supports .hidden.])
-fi
-AC_MSG_RESULT($gcc_cv_as_hidden)
-libgcc_visibility=$gcc_cv_as_hidden
 case "$target" in
   mips-sgi-irix6*)
     if test x"$gnu_ld_flag" = x"no"; then
@@ -1889,10 +1883,16 @@ case "$target" in
       # -call_shared (passed by default to the linker) and -r (used to
       # link the object file generated without .hidden directives with
       # one that hides symbols), so we also lose.
-      libgcc_visibility=no
+      gcc_cv_as_hidden=no
     fi
     ;;
 esac
+if test x"$gcc_cv_as_hidden" = xyes; then
+       AC_DEFINE(HAVE_GAS_HIDDEN, 1,
+               [Define if your assembler supports .hidden.])
+fi
+AC_MSG_RESULT($gcc_cv_as_hidden)
+libgcc_visibility=$gcc_cv_as_hidden
 AC_SUBST(libgcc_visibility)
 
 AC_MSG_CHECKING(assembler leb128 support)