* config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
authorIan Lance Taylor <ian@airs.com>
Tue, 3 Aug 1999 15:22:38 +0000 (15:22 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 3 Aug 1999 15:22:38 +0000 (15:22 +0000)
Ralf Baechle <ralf@uni-koblenz.de>.

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

index 385d7abf552014ac2665cf266e6132e120efb97f..77c0665874878d8999250020125c03cd4c5019e2 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-03  Ian Lance Taylor  <ian@zembu.com>
+
+       * config/tc-mips.c (append_insn): Correct INSN_SYNC test.  From
+       Ralf Baechle <ralf@uni-koblenz.de>.
+
 1999-08-03  Etienne Lorrain  <etienne.lorrain@ibm.net>
 
        * config/tc-i386.c (f16_3): New. Fixes 16 bit 3 byte nop.
index c9b063291ff558766fb49d4adf1bd51303b2e43d..3df6adf1c4e81ae966f0d812e333ec28db54cf4c 100644 (file)
@@ -2097,7 +2097,7 @@ append_insn (place, ip, address_expr, reloc_type, unmatched_hi)
              || (mips_opts.mips16 && prev_insn_fixp)
              /* If the previous instruction is a sync, sync.l, or 
                 sync.p, we can not swap. */
-             || (prev_pinfo && INSN_SYNC))
+             || (prev_pinfo & INSN_SYNC))
            {
              /* We could do even better for unconditional branches to
                 portions of this object file; we could pick up the