summaryrefslogtreecommitdiff
path: root/opcodes/hppa-dis.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-07 19:57:23 +0000
committerJeff Law <law@redhat.com>1999-09-07 19:57:23 +0000
commite0c05fa2b98539e7102f4cb10f8e0d285aac14cb (patch)
tree4b5165ea86054b297d426eb3e3ec542cedc78f16 /opcodes/hppa-dis.c
parentf7e617595345429dec4864b1179f6d372cdf5cd9 (diff)
downloadbinutils-redhat-e0c05fa2b98539e7102f4cb10f8e0d285aac14cb.tar.gz
* hppa-dis.c (print_insn_hppa): Escape '%' in output strings.
Diffstat (limited to 'opcodes/hppa-dis.c')
-rw-r--r--opcodes/hppa-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c
index 0e1de381e0..cde70fa3e3 100644
--- a/opcodes/hppa-dis.c
+++ b/opcodes/hppa-dis.c
@@ -766,7 +766,7 @@ print_insn_hppa (memaddr, info)
case 'Z':
/* addil %r1 implicit output. */
- (*info->fprintf_func) (info->stream, "%r1");
+ (*info->fprintf_func) (info->stream, "%%r1");
break;
case '.':
@@ -778,7 +778,7 @@ print_insn_hppa (memaddr, info)
GET_FIELD (insn, 22, 25));
break;
case '!':
- (*info->fprintf_func) (info->stream, "%sar");
+ (*info->fprintf_func) (info->stream, "%%sar");
break;
case 'p':
(*info->fprintf_func) (info->stream, "%d",