From: Dave Anglin Date: Sun, 14 Aug 2005 01:15:34 +0000 (+0000) Subject: * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=fdc503c03fee17b3183d742b24187c2dcf7ca1d1;p=pf3gnuchains%2Fpf3gnuchains3x.git * hppa-dis.c (print_insn_hppa): Don't print '%' before register names. Use "rp" instead of "%r2" in "b,l" insns. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index e9fa2be224..2426ecb98a 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 172be23e3b..6529462550 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);