gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 23 Sep 2012 10:46:38 +0000 (10:46 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sun, 23 Sep 2012 10:46:38 +0000 (10:46 +0000)
2012-09-23  Maciej W. Rozycki  <macro@codesourcery.com>

* config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
mark as incomplete for constant expressions.
<BFD_RELOC_MIPS16_JMP>: Likewise.

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

index c3abe80acdc304d93ec7d6768962e5be7cdaefb9..6856f58abae6a549047bffafab78cbd9b651229b 100644 (file)
@@ -1,3 +1,9 @@
+2012-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
+       mark as incomplete for constant expressions.
+       <BFD_RELOC_MIPS16_JMP>: Likewise.
+
 2012-09-23  Richard Sandiford  <rdsandiford@googlemail.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
 
index e71e35297ee0ddafa116f070c261d8b7e73a5ce8..7ab846fdca7e5d2cd5e40cd2d81369ea84573454 100644 (file)
@@ -4104,7 +4104,7 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
                      (unsigned long) address_expr->X_add_number);
            ip->insn_opcode |= ((address_expr->X_add_number >> shift)
                                & 0x3ffffff);
-           ip->complete_p = 0;
+           ip->complete_p = 1;
          }
          break;
 
@@ -4116,7 +4116,7 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
            (((address_expr->X_add_number & 0x7c0000) << 3)
               | ((address_expr->X_add_number & 0xf800000) >> 7)
               | ((address_expr->X_add_number & 0x3fffc) >> 2));
-         ip->complete_p = 0;
+         ip->complete_p = 1;
          break;
 
        case BFD_RELOC_16_PCREL_S2: