diff options
author | Zack Weinberg <zack@codesourcery.com> | 2001-11-22 06:54:45 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2001-11-22 01:54:45 -0500 |
commit | 44518ddd627def0f13f59fb45c60c633f8d0d6bf (patch) | |
tree | 727bd2cf8a78805ef37d19e67aacbfa57117723a /gcc | |
parent | 89d684bba353ee89c83c51a8cffc1f1cf5366ad5 (diff) | |
download | gcc-44518ddd627def0f13f59fb45c60c633f8d0d6bf.zip gcc-44518ddd627def0f13f59fb45c60c633f8d0d6bf.tar.gz gcc-44518ddd627def0f13f59fb45c60c633f8d0d6bf.tar.bz2 |
* rs6000.c (output_cbranch): Use $, not %$, in output template.
From-SVN: r47258
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 |
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); } |