This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
3.4 PATCH: Fix typo in libgcc_visibility check
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 24 Jul 2003 15:29:25 +0200 (MEST)
- Subject: 3.4 PATCH: Fix typo in libgcc_visibility check
A typo (missing whitespace around test operands) caused .hidden support on
IRIX 6 with GNU as and native ld not to be disabled as it should.
Bootstrapped without regressions on mips-sgi-irix6.5 with gas.
Ok for mainline?
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Mon Jul 21 17:08:41 2003 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (libgcc_visibility): Add missing whitespace.
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.707
diff -u -p -r1.707 configure.in
--- gcc/configure.in 20 Jul 2003 09:32:29 -0000 1.707
+++ gcc/configure.in 24 Jul 2003 13:27:47 -0000
@@ -1837,7 +1837,7 @@ changequote([,])dnl
fi])
libgcc_visibility=no
AC_SUBST(libgcc_visibility)
-if test $gcc_cv_as_hidden = yes && test $gcc_cv_ld_hidden=yes; then
+if test $gcc_cv_as_hidden = yes && test $gcc_cv_ld_hidden = yes; then
libgcc_visibility=yes
AC_DEFINE(HAVE_GAS_HIDDEN, 1,
[Define if your assembler and linker support .hidden.])