mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* config/tc-mips.c (mips16_ip): Handle a missing expression like
an explicit 0, so that explicitly extended instructions work correctly.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Tue Jan 28 15:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (mips16_ip): Handle a missing expression like
|
||||||
|
an explicit 0, so that explicitly extended instructions work
|
||||||
|
correctly.
|
||||||
|
|
||||||
Mon Jan 27 17:41:20 1997 Ian Lance Taylor <ian@cygnus.com>
|
Mon Jan 27 17:41:20 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF
|
* ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF
|
||||||
|
@ -7144,7 +7144,12 @@ mips16_ip (str, ip)
|
|||||||
{
|
{
|
||||||
/* It looks like the expression was omitted before a
|
/* It looks like the expression was omitted before a
|
||||||
register indirection, which means that the
|
register indirection, which means that the
|
||||||
expression is implicitly zero. */
|
expression is implicitly zero. We still set up
|
||||||
|
imm_expr, so that we handle explicit extensions
|
||||||
|
correctly. */
|
||||||
|
imm_expr.X_op = O_constant;
|
||||||
|
imm_expr.X_add_number = 0;
|
||||||
|
imm_reloc = (int) BFD_RELOC_UNUSED + c;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user