Fix trap_zero_jump for new binutils.

XXX someone who really understand this should check it.
This commit is contained in:
skrll 2013-09-29 20:13:42 +00:00
parent 83d6843df4
commit 3834f45b30

View File

@ -3644,7 +3644,7 @@ trap_zero_jump (struct mips_cl_insn * ip)
if (mips_opts.warn_about_macros) if (mips_opts.warn_about_macros)
return; return;
sreg = EXTRACT_OPERAND (RS, *ip); sreg = EXTRACT_OPERAND (0, RS, *ip);
if (mips_opts.isa == ISA_MIPS32 if (mips_opts.isa == ISA_MIPS32
|| mips_opts.isa == ISA_MIPS32R2 || mips_opts.isa == ISA_MIPS32R2
|| mips_opts.isa == ISA_MIPS64 || mips_opts.isa == ISA_MIPS64