From 621d0992d15c01914f5fadfe7f952a8eccb76396 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 7 Nov 2016 15:30:30 -0500 Subject: [PATCH] Fix typo. From-SVN: r241932 --- gcc/config/rs6000/rs6000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2