From: David Edelsohn Date: Sun, 13 Nov 2016 14:28:49 +0000 (+0000) Subject: re PR target/78336 (powerpc-darwin bootstrap broken (probably by 241930)) X-Git-Tag: upstream/12.2.0~43379 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=499266dc40a12b9a7923ebe5f0b89a2aaa838da9;p=platform%2Fupstream%2Fgcc.git re PR target/78336 (powerpc-darwin bootstrap broken (probably by 241930)) PR target/78336 * config/rs6000/rs6000.c (rs6000_asm_weaken_decl): Protect ASM_OUTPUT_DEF. From-SVN: r242353 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5510c3..68cc9c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-11-13 David Edelsohn + + PR target/78336 + * config/rs6000/rs6000.c (rs6000_asm_weaken_decl): Protect + ASM_OUTPUT_DEF. + 2016-11-12 Segher Boessenkool PR target/77957 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 05448cb..609f267 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -35673,7 +35673,9 @@ rs6000_asm_weaken_decl (FILE *stream, tree decl, fputc ('\n', stream); if (val) { +#ifdef ASM_OUTPUT_DEF ASM_OUTPUT_DEF (stream, name, val); +#endif if (decl && TREE_CODE (decl) == FUNCTION_DECL && DEFAULT_ABI == ABI_AIX && DOT_SYMBOLS) {