This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
moxie fixes in gas
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: binutils at sourceware dot org
- Date: Wed, 26 Aug 2009 07:07:10 +0200
- Subject: moxie fixes in gas
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 <Ralf.Wildenhues@gmx.de>
* 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