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
This commit is contained in:
parent
a79b3dc7c8
commit
6d07784ac2
3 changed files with 23 additions and 17 deletions
|
@ -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
|
||||
|
|
20
gcc/configure
vendored
20
gcc/configure
vendored
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue