From: David Edelsohn Date: Mon, 7 Nov 2016 20:30:30 +0000 (-0500) Subject: Fix typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=621d0992d15c01914f5fadfe7f952a8eccb76396;p=gcc.git Fix typo. From-SVN: r241932 --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 1316252e481..b0c2b2e69ee 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -35612,14 +35612,14 @@ rs6000_asm_weaken_decl (FILE *stream, tree decl, { if (TARGET_XCOFF) fputs ("[DS]", stream); -#if HAVE_GAS_HIDDEN +#if TARGET_XCOFF && HAVE_GAS_HIDDEN if (TARGET_XCOFF) fputs (rs6000_xcoff_visibility (decl), stream); #endif fputs ("\n\t.weak\t.", stream); RS6000_OUTPUT_BASENAME (stream, name); } -#if HAVE_GAS_HIDDEN +#if TARGET_XCOFF && HAVE_GAS_HIDDEN if (TARGET_XCOFF) fputs (rs6000_xcoff_visibility (decl), stream); #endif