From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19340 invoked by alias); 21 Feb 2011 17:14:02 -0000 Received: (qmail 19055 invoked by uid 22791); 21 Feb 2011 17:13:59 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Feb 2011 17:13:55 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id ED2D41B40FA; Mon, 21 Feb 2011 17:13:52 +0000 (UTC) From: Mike Frysinger To: binutils@sourceware.org Cc: toolchain-devel@blackfin.uclinux.org Subject: [PATCH] opcodes: blackfin: use OUTS helper Date: Mon, 21 Feb 2011 17:14:00 -0000 Message-Id: <1298308447-18729-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00261.txt.bz2 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 2011-02-05 Mike Frysinger * bfin-dis.c (print_insn_bfin): Change outf->fprintf_func to OUTS. --- opcodes/bfin-dis.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c index 46c6c02..e7c81b4 100644 --- a/opcodes/bfin-dis.c +++ b/opcodes/bfin-dis.c @@ -4797,9 +4797,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); @@ -4810,7 +4810,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; } @@ -4818,7 +4818,7 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf) } if (!comment) - outf->fprintf_func (outf->stream, ";"); + OUTS (outf, ";"); if (count == 0) return 2; -- 1.7.4.1