From 63a3357b7b8d2528e233fd6507eec9c57de346a2 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Sun, 14 Aug 2005 01:15:34 +0000 Subject: [PATCH] * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. Use "rp" instead of "%r2" in "b,l" insns. --- opcodes/ChangeLog | 5 +++++ opcodes/hppa-dis.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e9fa2be..2426ecb 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2005-08-13 John David Anglin + + * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. + Use "rp" instead of "%r2" in "b,l" insns. + 2005-08-12 Martin Schwidefsky * s390-dis.c (print_insn_s390): Print unsigned operands with %u. diff --git a/opcodes/hppa-dis.c b/opcodes/hppa-dis.c index 172be23..6529462 100644 --- a/opcodes/hppa-dis.c +++ b/opcodes/hppa-dis.c @@ -952,12 +952,12 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) case 'Z': /* addil %r1 implicit output. */ - (*info->fprintf_func) (info->stream, "%%r1"); + fputs_filtered ("r1", info); break; case 'Y': /* be,l %sr0,%r31 implicit output. */ - (*info->fprintf_func) (info->stream, "%%sr0,%%r31"); + fputs_filtered ("sr0,r31", info); break; case '@': @@ -973,7 +973,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) GET_FIELD (insn, 22, 25)); break; case '!': - (*info->fprintf_func) (info->stream, "%%sar"); + fputs_filtered ("sar", info); break; case 'p': (*info->fprintf_func) (info->stream, "%d", @@ -1219,7 +1219,7 @@ print_insn_hppa (bfd_vma memaddr, disassemble_info *info) (memaddr + 8 + extract_22 (insn), info); break; case 'L': - fputs_filtered (",%r2", info); + fputs_filtered (",rp", info); break; default: (*info->fprintf_func) (info->stream, "%c", *s); -- 2.7.4