if (*s != '$')
{
- as_bad ("expecting register");
+ as_bad (_("expecting register"));
ignore_rest_of_line ();
return -1;
}
reg = s[2] - '0';
if ((reg < 0) || (reg > 9))
{
- as_bad ("illegal register number");
+ as_bad (_("illegal register number"));
ignore_rest_of_line ();
return -1;
}
}
else
{
- as_bad ("illegal register number");
+ as_bad (_("illegal register number"));
ignore_rest_of_line ();
return -1;
}
reg = parse_register_operand (&op_end);
iword += (reg << 8);
if (*op_end != ',')
- as_warn ("expecting comma delimeted register operands");
+ as_warn (_("expecting comma delimeted register operands"));
op_end++;
op_end = parse_exp_save_ilp (op_end, &arg);
fix_new_exp (frag_now,
int dest, src;
dest = parse_register_operand (&op_end);
if (*op_end != ',')
- as_warn ("expecting comma delimeted register operands");
+ as_warn (_("expecting comma delimeted register operands"0);
op_end++;
src = parse_register_operand (&op_end);
iword += (dest << 4) + src;
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
}
break;
case MOXIE_F1_A4:
if (*op_end != ',')
{
- as_bad ("expecting comma delimited operands");
+ as_bad (_("expecting comma delimited operands"));
ignore_rest_of_line ();
return;
}
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
break;
case MOXIE_F1_A:
iword = opcode->opcode << 8;
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
iword += (reg << 4);
}
break;
int a, b;
a = parse_register_operand (&op_end);
if (*op_end != ',')
- as_warn ("expecting comma delimeted register operands");
+ as_warn (_("expecting comma delimeted register operands"));
op_end++;
if (*op_end != '(')
{
- as_bad ("expecting indirect register `($rA)'");
+ as_bad (_("expecting indirect register `($rA)'"));
ignore_rest_of_line ();
return;
}
b = parse_register_operand (&op_end);
if (*op_end != ')')
{
- as_bad ("missing closing parenthesis");
+ as_bad (_("missing closing parenthesis"));
ignore_rest_of_line ();
return;
}
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
}
break;
case MOXIE_F1_AiB:
int a, b;
if (*op_end != '(')
{
- as_bad ("expecting indirect register `($rA)'");
+ as_bad (_("expecting indirect register `($rA)'"));
ignore_rest_of_line ();
return;
}
a = parse_register_operand (&op_end);
if (*op_end != ')')
{
- as_bad ("missing closing parenthesis");
+ as_bad (_("missing closing parenthesis"));
ignore_rest_of_line ();
return;
}
op_end++;
if (*op_end != ',')
- as_warn ("expecting comma delimeted register operands");
+ as_warn (_("expecting comma delimeted register operands"));
op_end++;
b = parse_register_operand (&op_end);
iword += (a << 4) + b;
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
}
break;
case MOXIE_F1_4A:
if (*op_end != ',')
{
- as_bad ("expecting comma delimited operands");
+ as_bad (_("expecting comma delimited operands"));
ignore_rest_of_line ();
return;
}
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
iword += (a << 4);
}
if (*op_end != ',')
{
- as_bad ("expecting comma delimited operands");
+ as_bad (_("expecting comma delimited operands"));
ignore_rest_of_line ();
return;
}
if (*op_end != '(')
{
- as_bad ("expecting indirect register `($rX)'");
+ as_bad (_("expecting indirect register `($rX)'"));
ignore_rest_of_line ();
return;
}
b = parse_register_operand (&op_end);
if (*op_end != ')')
{
- as_bad ("missing closing parenthesis");
+ as_bad (_("missing closing parenthesis"));
ignore_rest_of_line ();
return;
}
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
iword += (a << 4) + b;
}
if (*op_end != '(')
{
- as_bad ("expecting indirect register `($rX)'");
+ as_bad (_("expecting indirect register `($rX)'"));
ignore_rest_of_line ();
return;
}
a = parse_register_operand (&op_end);
if (*op_end != ')')
{
- as_bad ("missing closing parenthesis");
+ as_bad (_("missing closing parenthesis"));
ignore_rest_of_line ();
return;
}
if (*op_end != ',')
{
- as_bad ("expecting comma delimited operands");
+ as_bad (_("expecting comma delimited operands"));
ignore_rest_of_line ();
return;
}
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
iword += (a << 4) + b;
}
while (ISSPACE (*op_end))
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
break;
case MOXIE_F3_PCREL:
iword = (3<<14) | (opcode->opcode << 10);
}
break;
default:
- abort();
+ abort ();
}
md_number_to_chars (p, iword, 2);
op_end++;
if (*op_end != 0)
- as_warn ("extra stuff on line ignored");
+ as_warn (_("extra stuff on line ignored"));
if (pending_reloc)
- as_bad ("Something forgot to clean up\n");
+ as_bad (_("Something forgot to clean up\n"));
}
/* Turn a string in input_line_pointer into a floating point constant