From 4d2cb079aa6b5a6db9a837ffd9757047c558baa2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 22 Feb 2011 20:51:42 +0000 Subject: [PATCH] opcodes: blackfin: use OUTS helper We have an OUTS helper to handle outf fprintf_func logic, so conver the few places not using it over. Signed-off-by: Mike Frysinger --- opcodes/ChangeLog | 4 ++++ opcodes/bfin-dis.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 8e70d224f..c7d3cdf45 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2011-02-22 Mike Frysinger + + * bfin-dis.c (print_insn_bfin): Change outf->fprintf_func to OUTS. + 2011-02-19 Mike Frysinger * bfin-dis.c (saved_state): Mark static. Change a[01]x to ax[] and diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c index a475c2391..9b834a413 100644 --- a/opcodes/bfin-dis.c +++ b/opcodes/bfin-dis.c @@ -4781,9 +4781,9 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf) int len; parallel = 1; - outf->fprintf_func (outf->stream, " || "); + OUTS (outf, " || "); len = _print_insn_bfin (pc + 4, outf); - outf->fprintf_func (outf->stream, " || "); + OUTS (outf, " || "); if (len != 2) legal = 0; len = _print_insn_bfin (pc + 6, outf); @@ -4794,7 +4794,7 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf) count = 8; else { - outf->fprintf_func (outf->stream, ";\t\t/* ILLEGAL PARALLEL INSTRUCTION */"); + OUTS (outf, ";\t\t/* ILLEGAL PARALLEL INSTRUCTION */"); comment = 1; count = 0; } @@ -4802,7 +4802,7 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf) } if (!comment) - outf->fprintf_func (outf->stream, ";"); + OUTS (outf, ";"); if (count == 0) return 2; -- 2.11.4.GIT