diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-03-02 00:11:11 +0000 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2002-03-02 10:41:11 +1030 |
commit | ca734b39f3a1dff4206545b43068998b2bf7821b (patch) | |
tree | cda2822522fb920a2dfb07811e8658267295103b | |
parent | 49b723064f522ec1390f27778c5e2e1cc7c4947f (diff) | |
download | gcc-ca734b39f3a1dff4206545b43068998b2bf7821b.zip gcc-ca734b39f3a1dff4206545b43068998b2bf7821b.tar.gz gcc-ca734b39f3a1dff4206545b43068998b2bf7821b.tar.bz2 |
rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't like more than one symbol per .weak directive.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
like more than one symbol per .weak directive.
From-SVN: r50217
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb046f4..22056f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-03-02 Alan Modra <amodra@bigpond.net.au> + + * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't + like more than one symbol per .weak directive. + 2002-03-01 Richard Henderson <rth@redhat.com> * 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 c576c10..fae0b83 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)); \ |