aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4909aac..cbdf474 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-20 Zack Weinberg <zack@codesourcery.com>
+
+ * rs6000.c (output_cbranch): Use $, not %$, in output template.
+
2001-11-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* tree-dump.c: Rename from c-dump.c. Include c-tree.h, not c-common.h.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 18f44cb..93fe5f2 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -5681,7 +5681,7 @@ output_cbranch (op, label, reversed, insn)
/* If the branch distance was too far, we may have to use an
unconditional branch to go the distance. */
if (need_longbranch)
- s += sprintf (s, ",%c$+8\n\tb %s", '%', label);
+ s += sprintf (s, ",$+8\n\tb %s", label);
else
s += sprintf (s, ",%s", label);
}