Eliminate warning message.
* opcodes/mips-dis.c (print_insn_args): Modify def of reg.
This commit is contained in:
parent
9df7235c1a
commit
314d60dd50
|
@ -1,3 +1,7 @@
|
||||||
|
2013-03-12 Michael Eager <eager@eagercon.com>
|
||||||
|
|
||||||
|
* opcodes/mips-dis.c (print_insn_args): Modify def of reg.
|
||||||
|
|
||||||
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs.
|
* nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs.
|
||||||
|
|
|
@ -1273,7 +1273,9 @@ print_insn_args (const char *d,
|
||||||
case 'U':
|
case 'U':
|
||||||
{
|
{
|
||||||
/* First check for both rd and rt being equal. */
|
/* First check for both rd and rt being equal. */
|
||||||
unsigned int reg = GET_OP (l, RD);
|
unsigned int reg;
|
||||||
|
|
||||||
|
reg = GET_OP (l, RD);
|
||||||
if (reg == GET_OP (l, RT))
|
if (reg == GET_OP (l, RT))
|
||||||
infprintf (is, "%s", mips_gpr_names[reg]);
|
infprintf (is, "%s", mips_gpr_names[reg]);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue