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
This commit is contained in:
David Edelsohn 2016-11-13 14:28:49 +00:00 committed by David Edelsohn
parent f9d49cd1d0
commit 499266dc40
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2016-11-13 David Edelsohn <dje.gcc@gmail.com>
PR target/78336
* config/rs6000/rs6000.c (rs6000_asm_weaken_decl): Protect
ASM_OUTPUT_DEF.
2016-11-12 Segher Boessenkool <segher@kernel.crashing.org>
PR target/77957

View File

@ -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)
{