mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
2001-06-08 H.J. Lu <hjl@gnu.org>
* config/tc-mips.c (mips_ip): Properly handle illegal operands.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2001-06-08 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* config/tc-mips.c (mips_ip): Properly handle illegal operands.
|
||||||
|
|
||||||
2001-06-08 H.J. Lu <hjl@gnu.org>
|
2001-06-08 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* config/tc-mips.c (md_apply_fix): Don't adjust common
|
* config/tc-mips.c (md_apply_fix): Don't adjust common
|
||||||
|
@ -7098,19 +7098,25 @@ mips_ip (str, ip)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
static char buf[100];
|
if (!insn_error)
|
||||||
sprintf (buf,
|
{
|
||||||
_("opcode not supported on this processor: %s (%s)"),
|
static char buf[100];
|
||||||
mips_cpu_to_str (mips_cpu),
|
sprintf (buf,
|
||||||
mips_isa_to_str (mips_opts.isa));
|
_("opcode not supported on this processor: %s (%s)"),
|
||||||
|
mips_cpu_to_str (mips_cpu),
|
||||||
|
mips_isa_to_str (mips_opts.isa));
|
||||||
|
|
||||||
insn_error = buf;
|
insn_error = buf;
|
||||||
|
}
|
||||||
|
if (save_c)
|
||||||
|
*(--s) = save_c;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ip->insn_mo = insn;
|
ip->insn_mo = insn;
|
||||||
ip->insn_opcode = insn->match;
|
ip->insn_opcode = insn->match;
|
||||||
|
insn_error = NULL;
|
||||||
for (args = insn->args;; ++args)
|
for (args = insn->args;; ++args)
|
||||||
{
|
{
|
||||||
if (*s == ' ')
|
if (*s == ' ')
|
||||||
@ -7951,8 +7957,11 @@ mips_ip (str, ip)
|
|||||||
{
|
{
|
||||||
++insn;
|
++insn;
|
||||||
s = argsStart;
|
s = argsStart;
|
||||||
|
insn_error = _("illegal operands");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (save_c)
|
||||||
|
*(--s) = save_c;
|
||||||
insn_error = _("illegal operands");
|
insn_error = _("illegal operands");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user