* config/tc-mips.c (md_convert_frag): If the user explicitly
authorIan Lance Taylor <ian@airs.com>
Tue, 28 Jan 1997 20:37:27 +0000 (20:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 28 Jan 1997 20:37:27 +0000 (20:37 +0000)
requested an extended opcode, pass warn as true to mips16_immed.

gas/ChangeLog
gas/config/tc-mips.c

index 8841d1faa8db1849852b652cf6d8abc43a112c7c..999017dddfbb57f9ae387ba345bf5efcb59a20c3 100644 (file)
@@ -1,5 +1,8 @@
 Tue Jan 28 15:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
 
 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.
        * config/tc-mips.c (mips16_ip): Handle a missing expression like
        an explicit 0, so that explicitly extended instructions work
        correctly.
index 3eadbbe561a97d8a2b0eef0a8516a86b4f36b27e..e6a1e2a041bafe57f6f3512b30962823ab5ddf60 100644 (file)
@@ -9753,8 +9753,9 @@ md_convert_frag (abfd, asec, fragp)
       else
        insn = bfd_getl16 (buf);
 
       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)
        {
 
       if (use_extend)
        {
This page took 0.047806 seconds and 4 git commands to generate.