From 9fd07943ffd27fb0aeee0acf20262e45f6716316 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 May 2011 16:15:59 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 7 +++++++ gas/cond.c | 10 +++++----- gas/config/tc-m32r.c | 4 ++-- gas/config/tc-mt.c | 4 ++-- gas/config/tc-pj.c | 2 +- 5 files changed, 17 insertions(+), 10 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 19428f7..019caff 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2011-05-17 Nick Clifton + + * 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 * config/tc-cris.c (md_parse_option) : Error if not diff --git a/gas/cond.c b/gas/cond.c index bcdc4bf..4b6326f 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 dcde231..426502f 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 1b81e1f..6e54782 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 f82790b..9dbe810 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); -- 2.7.4