3.4 PATCH: Fix typo in libgcc_visibility check

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Thu Jul 24 13:29:00 GMT 2003


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.])



More information about the Gcc-patches mailing list