Commit 6d07784a by Rainer Orth Committed by Rainer Orth

configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld.

	* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
	IRIX 6 without GNU ld.
	* configure: Regenerate.

From-SVN: r67390
parent a79b3dc7
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> 2003-06-03 Roger Sayle <roger@eyesopen.com>
* expr.c (emit_move_insn_1): Use emit_move_insn to move the parts * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
......
...@@ -2434,7 +2434,7 @@ fi ...@@ -2434,7 +2434,7 @@ fi
# Find some useful tools # Find some useful tools
for ac_prog in gawk mawk nawk awk for ac_prog in mawk gawk nawk awk
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
...@@ -7918,14 +7918,6 @@ elif test x$gcc_cv_as != x; then ...@@ -7918,14 +7918,6 @@ elif test x$gcc_cv_as != x; then
fi fi
fi 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 case "$target" in
mips-sgi-irix6*) mips-sgi-irix6*)
if test x"$gnu_ld_flag" = x"no"; then if test x"$gnu_ld_flag" = x"no"; then
...@@ -7935,10 +7927,18 @@ case "$target" in ...@@ -7935,10 +7927,18 @@ case "$target" in
# -call_shared (passed by default to the linker) and -r (used to # -call_shared (passed by default to the linker) and -r (used to
# link the object file generated without .hidden directives with # link the object file generated without .hidden directives with
# one that hides symbols), so we also lose. # one that hides symbols), so we also lose.
libgcc_visibility=no gcc_cv_as_hidden=no
fi fi
;; ;;
esac 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 echo $ac_n "checking assembler leb128 support""... $ac_c" 1>&6
......
...@@ -1874,12 +1874,6 @@ changequote(,)dnl ...@@ -1874,12 +1874,6 @@ changequote(,)dnl
changequote([,])dnl changequote([,])dnl
fi fi
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 case "$target" in
mips-sgi-irix6*) mips-sgi-irix6*)
if test x"$gnu_ld_flag" = x"no"; then if test x"$gnu_ld_flag" = x"no"; then
...@@ -1889,10 +1883,16 @@ case "$target" in ...@@ -1889,10 +1883,16 @@ case "$target" in
# -call_shared (passed by default to the linker) and -r (used to # -call_shared (passed by default to the linker) and -r (used to
# link the object file generated without .hidden directives with # link the object file generated without .hidden directives with
# one that hides symbols), so we also lose. # one that hides symbols), so we also lose.
libgcc_visibility=no gcc_cv_as_hidden=no
fi fi
;; ;;
esac 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_SUBST(libgcc_visibility)
AC_MSG_CHECKING(assembler leb128 support) AC_MSG_CHECKING(assembler leb128 support)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment