diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-01-28 20:37:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-01-28 20:37:27 +0000 |
commit | 31a2c6ffd76a91f4a70f8c95ba9e7f6564b1c01a (patch) | |
tree | 90147786e5894bcdfb85ea36a0aa155dac540681 | |
parent | 645cb4dc28faaf0ee88d19ab822647767e2bca56 (diff) | |
download | gdb-31a2c6ffd76a91f4a70f8c95ba9e7f6564b1c01a.zip gdb-31a2c6ffd76a91f4a70f8c95ba9e7f6564b1c01a.tar.gz gdb-31a2c6ffd76a91f4a70f8c95ba9e7f6564b1c01a.tar.bz2 |
* config/tc-mips.c (md_convert_frag): If the user explicitly
requested an extended opcode, pass warn as true to mips16_immed.
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8841d1f..999017d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 3eadbbe..e6a1e2a 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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) { |