mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
there is another alternative for the instruction.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Jul 12 07:22:28 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
|
||||||
|
there is another alternative for the instruction.
|
||||||
|
|
||||||
Fri Jul 9 17:31:34 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
Fri Jul 9 17:31:34 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
|
||||||
|
|
||||||
* doc/as.texinfo: updates for H8/300H
|
* doc/as.texinfo: updates for H8/300H
|
||||||
|
@ -2244,14 +2244,24 @@ mips_ip (str, ip)
|
|||||||
if (*args == 'i')
|
if (*args == 'i')
|
||||||
{
|
{
|
||||||
if ((unsigned long) imm_expr.X_add_number > 65535)
|
if ((unsigned long) imm_expr.X_add_number > 65535)
|
||||||
|
{
|
||||||
|
if (insn + 1 < &mips_opcodes[NUMOPCODES] &&
|
||||||
|
!strcmp (insn->name, insn[1].name))
|
||||||
|
break;
|
||||||
as_bad ("16 bit expression not in range 0..65535");
|
as_bad ("16 bit expression not in range 0..65535");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (imm_expr.X_add_number < -32768 ||
|
if (imm_expr.X_add_number < -32768 ||
|
||||||
imm_expr.X_add_number > 32767)
|
imm_expr.X_add_number > 32767)
|
||||||
|
{
|
||||||
|
if (insn + 1 < &mips_opcodes[NUMOPCODES] &&
|
||||||
|
!strcmp (insn->name, insn[1].name))
|
||||||
|
break;
|
||||||
as_bad ("16 bit expression not in range -32768..32767");
|
as_bad ("16 bit expression not in range -32768..32767");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
s = expr_end;
|
s = expr_end;
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user