diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb046f44633..22056f260a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-02 Alan Modra + + * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't + like more than one symbol per .weak directive. + 2002-03-01 Richard Henderson * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index c576c10e4f1..fae0b83ba4f 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2429,7 +2429,7 @@ extern int toc_initialized; if ((DECL) && TREE_CODE (DECL) == FUNCTION_DECL \ && DEFAULT_ABI == ABI_AIX) \ { \ - fputs (",.", (FILE)); \ + fputs ("\n\t.weak\t.", (FILE)); \ assemble_name ((FILE), (NAME)); \ } \ fputc ('\n', (FILE)); \