* config/tc-mips.c (md_convert_frag): If the user explicitly

requested an extended opcode, pass warn as true to mips16_immed.
This commit is contained in:
Ian Lance Taylor 1997-01-28 20:37:27 +00:00
parent 645cb4dc28
commit 31a2c6ffd7
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,8 @@
Tue Jan 28 15:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (md_convert_frag): If the user explicitly
requested an extended opcode, pass warn as true to mips16_immed.
* config/tc-mips.c (mips16_ip): Handle a missing expression like
an explicit 0, so that explicitly extended instructions work
correctly.

View File

@ -9753,8 +9753,9 @@ md_convert_frag (abfd, asec, fragp)
else
insn = bfd_getl16 (buf);
mips16_immed (fragp->fr_file, fragp->fr_line, type, val, false, small,
ext, &insn, &use_extend, &extend);
mips16_immed (fragp->fr_file, fragp->fr_line, type, val,
RELAX_MIPS16_USER_EXT (fragp->fr_subtype),
small, ext, &insn, &use_extend, &extend);
if (use_extend)
{