summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-05-17 16:15:56 +0000
committerNick Clifton <nickc@redhat.com>2011-05-17 16:15:56 +0000
commitaaee1a1baa794d909aa4af619a0075e19bbb6346 (patch)
tree93c681feb786b2ac17a8613ea9e2b1db7ee2768f /gas
parentd6a192352a2e4f44ad474f8499947184831dc80c (diff)
downloadbinutils-redhat-aaee1a1baa794d909aa4af619a0075e19bbb6346.tar.gz
* config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
* config/tc-mt.c (md_assemble): Fix typos in warning messages. * cond.c (s_else): Fix typos in error messages. * config/tc-pj.c (md_assemble): Fix typo in error message.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/cond.c10
-rw-r--r--gas/config/tc-m32r.c4
-rw-r--r--gas/config/tc-mt.c4
-rw-r--r--gas/config/tc-pj.c2
5 files changed, 17 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 19428f73d2..019caff9ee 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-17 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
+ * config/tc-mt.c (md_assemble): Fix typos in warning messages.
+ * cond.c (s_else): Fix typos in error messages.
+ * config/tc-pj.c (md_assemble): Fix typo in error message.
+
2011-05-16 Hans-Peter Nilsson <hp@axis.com>
* config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
diff --git a/gas/cond.c b/gas/cond.c
index bcdc4bfcfc..4b6326f463 100644
--- a/gas/cond.c
+++ b/gas/cond.c
@@ -311,10 +311,10 @@ s_elseif (int arg)
as_bad (_("\".elseif\" after \".else\""));
as_bad_where (current_cframe->else_file_line.file,
current_cframe->else_file_line.line,
- _("here is the previous \"else\""));
+ _("here is the previous \".else\""));
as_bad_where (current_cframe->if_file_line.file,
current_cframe->if_file_line.line,
- _("here is the previous \"if\""));
+ _("here is the previous \".if\""));
}
else
{
@@ -414,13 +414,13 @@ s_else (int arg ATTRIBUTE_UNUSED)
}
else if (current_cframe->else_seen)
{
- as_bad (_("duplicate \"else\""));
+ as_bad (_("duplicate \".else\""));
as_bad_where (current_cframe->else_file_line.file,
current_cframe->else_file_line.line,
- _("here is the previous \"else\""));
+ _("here is the previous \".else\""));
as_bad_where (current_cframe->if_file_line.file,
current_cframe->if_file_line.line,
- _("here is the previous \"if\""));
+ _("here is the previous \".if\""));
}
else
{
diff --git a/gas/config/tc-m32r.c b/gas/config/tc-m32r.c
index dcde231269..426502fdb1 100644
--- a/gas/config/tc-m32r.c
+++ b/gas/config/tc-m32r.c
@@ -406,11 +406,11 @@ md_show_usage (FILE *stream)
fprintf (stream, _("\
-ignore-parallel-conflicts do not check parallel instructions\n"));
fprintf (stream, _("\
- fo contraint violations\n"));
+ for constraint violations\n"));
fprintf (stream, _("\
-no-ignore-parallel-conflicts check parallel instructions for\n"));
fprintf (stream, _("\
- contraint violations\n"));
+ constraint violations\n"));
fprintf (stream, _("\
-Ip synonym for -ignore-parallel-conflicts\n"));
fprintf (stream, _("\
diff --git a/gas/config/tc-mt.c b/gas/config/tc-mt.c
index 1b81e1f9be..6e547827db 100644
--- a/gas/config/tc-mt.c
+++ b/gas/config/tc-mt.c
@@ -258,13 +258,13 @@ md_assemble (char * str)
&& insn.fields.f_sr1 == delayed_load_register)
|| (CGEN_INSN_ATTR_VALUE (insn.insn, CGEN_INSN_USES_FRSR2)
&& insn.fields.f_sr2 == delayed_load_register))
- as_warn (_("operand references R%ld of previous instrutcion."),
+ as_warn (_("operand references R%ld of previous instruction."),
delayed_load_register);
else if ((CGEN_INSN_ATTR_VALUE (insn.insn, CGEN_INSN_USES_FRSR1)
&& insn.fields.f_sr1 == prev_delayed_load_register)
|| (CGEN_INSN_ATTR_VALUE (insn.insn, CGEN_INSN_USES_FRSR2)
&& insn.fields.f_sr2 == prev_delayed_load_register))
- as_warn (_("operand references R%ld of instructcion before previous."),
+ as_warn (_("operand references R%ld of instruction before previous."),
prev_delayed_load_register);
}
diff --git a/gas/config/tc-pj.c b/gas/config/tc-pj.c
index f82790ba3e..9dbe810e46 100644
--- a/gas/config/tc-pj.c
+++ b/gas/config/tc-pj.c
@@ -286,7 +286,7 @@ md_assemble (char *str)
op_end++;
if (*op_end == 0)
- as_bad (_("expected expresssion"));
+ as_bad (_("expected expression"));
op_end = parse_exp_save_ilp (op_end, &arg);