summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-14 14:33:46 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-14 14:33:46 +0000
commitd6bc6110c1007907ee5ce8d0c371c34e4ba37bc0 (patch)
tree48a93ce45dd7090f9158fbc824a1ee7581c296d3
parentcfb142201b9a19bb0503932cf361161c00965929 (diff)
downloadppe42-gcc-d6bc6110c1007907ee5ce8d0c371c34e4ba37bc0.tar.gz
ppe42-gcc-d6bc6110c1007907ee5ce8d0c371c34e4ba37bc0.zip
* rs6000.c (output_prolog): RS6000_CALL_GLUE must be
asm_fprintf format string by itself. (output_function_profiler): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27518 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c11
2 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f6b1a45873..0c89a86f4d8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
+
+ * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
+ asm_fprintf format string by itself.
+ (output_function_profiler): Likewise.
+
Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
* combine.c (simplify_logical, case AND): Only call
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 21a81f30dc0..d22e4e76c10 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4077,7 +4077,11 @@ output_prolog (file, size)
#else
#ifdef RS6000_CALL_GLUE
if (DEFAULT_ABI == ABI_AIX || DEFAULT_ABI == ABI_NT)
- fprintf (file, "\t%s\n", RS6000_CALL_GLUE);
+ {
+ putc('\t', file);
+ asm_fprintf (file, RS6000_CALL_GLUE);
+ putc('\n', file);
+ }
#endif
#endif
@@ -5093,8 +5097,9 @@ output_function_profiler (file, labelno)
asm_fprintf (file, TARGET_32BIT ? "\t{l|lwz} %s," : "\tld %s,",
reg_names[3]);
assemble_name (file, buf);
- asm_fprintf (file, "(%s)\n\tbl %s\n\t%s\n",
- reg_names[2], RS6000_MCOUNT, RS6000_CALL_GLUE);
+ asm_fprintf (file, "(%s)\n\tbl %s\n\t", reg_names[2], RS6000_MCOUNT);
+ asm_fprintf (file, RS6000_CALL_GLUE);
+ putc('\n', file);
/* Restore parameter registers and static chain. */
OpenPOWER on IntegriCloud