From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2807 invoked by alias); 26 Aug 2009 05:07:27 -0000 Received: (qmail 2786 invoked by uid 22791); 26 Aug 2009 05:07:23 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 26 Aug 2009 05:07:14 +0000 Received: (qmail invoked by alias); 26 Aug 2009 05:07:11 -0000 Received: from xdsl-87-78-93-237.netcologne.de (EHLO localhost.localdomain) [87.78.93.237] by mail.gmx.net (mp039) with SMTP; 26 Aug 2009 07:07:11 +0200 Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1MgAj0-0002Ai-N8 for binutils@sourceware.org; Wed, 26 Aug 2009 07:07:10 +0200 Date: Wed, 26 Aug 2009 07:14:00 -0000 From: Ralf Wildenhues To: binutils@sourceware.org Subject: moxie fixes in gas Message-ID: <20090826050710.GA8346@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-09) 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: 2009-08/txt/msg00470.txt.bz2 This allows the build to complete in gas with a moxie target. Without the patch, 'make' won't know config/tc-moxie.c is a prerequisite to tc-moxie.o. The makefile bug might have had more benign effects before the dependency tracking changes, but now they are definitely needed. The syntax error in the .c file doesn't instill confidence though. :-) OK to apply? Thanks, Ralf moxie fixes in gas. gas/ChangeLog: 2009-08-26 Ralf Wildenhues * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c. * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix syntax error. * Makefile.in: Regenerate. * po/POTFILES.in: Likewise. * po/gas.pot: Likewise. diff --git a/gas/Makefile.am b/gas/Makefile.am index 27a7d1a..b8e86b1 100644 --- a/gas/Makefile.am +++ b/gas/Makefile.am @@ -275,6 +275,7 @@ TARGET_CPU_CFILES = \ config/tc-mmix.c \ config/tc-mn10200.c \ config/tc-mn10300.c \ + config/tc-moxie.c \ config/tc-msp430.c \ config/tc-mt.c \ config/tc-ns32k.c \ diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c index f5140c5..3ec00a7 100644 --- a/gas/config/tc-moxie.c +++ b/gas/config/tc-moxie.c @@ -199,7 +199,7 @@ md_assemble (char *str) reg = parse_register_operand (&op_end); iword += (reg << 8); if (*op_end != ',') - as_warn (_("expecting comma delimeted register operands")); + as_warn (_("expecting comma delimited register operands")); op_end++; op_end = parse_exp_save_ilp (op_end, &arg); fix_new_exp (frag_now, @@ -218,7 +218,7 @@ md_assemble (char *str) int dest, src; dest = parse_register_operand (&op_end); if (*op_end != ',') - as_warn (_("expecting comma delimeted register operands"0); + as_warn (_("expecting comma delimited register operands")); op_end++; src = parse_register_operand (&op_end); iword += (dest << 4) + src; @@ -309,7 +309,7 @@ md_assemble (char *str) int a, b; a = parse_register_operand (&op_end); if (*op_end != ',') - as_warn (_("expecting comma delimeted register operands")); + as_warn (_("expecting comma delimited register operands")); op_end++; if (*op_end != '(') { @@ -355,7 +355,7 @@ md_assemble (char *str) } op_end++; if (*op_end != ',') - as_warn (_("expecting comma delimeted register operands")); + as_warn (_("expecting comma delimited register operands")); op_end++; b = parse_register_operand (&op_end); iword += (a << 4) + b; diff --git a/gas/po/POTFILES.in b/gas/po/POTFILES.in index 5ca5ea1..1a3a671 100644 --- a/gas/po/POTFILES.in +++ b/gas/po/POTFILES.in @@ -105,6 +105,7 @@ config/tc-mn10200.c config/tc-mn10200.h config/tc-mn10300.c config/tc-mn10300.h +config/tc-moxie.c config/tc-msp430.c config/tc-msp430.h config/tc-mt.c