public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* moxie fixes in gas
@ 2009-08-26  7:14 Ralf Wildenhues
  2009-08-26  7:20 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Wildenhues @ 2009-08-26  7:14 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: moxie fixes in gas
  2009-08-26  7:14 moxie fixes in gas Ralf Wildenhues
@ 2009-08-26  7:20 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2009-08-26  7:20 UTC (permalink / raw)
  To: Ralf Wildenhues; +Cc: binutils

On Wed, Aug 26, 2009 at 07:07:10AM +0200, Ralf Wildenhues wrote:
> 	* 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.

OK.

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-26  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-26  7:14 moxie fixes in gas Ralf Wildenhues
2009-08-26  7:20 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).