OSDN Git Service

* config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
authorian <ian>
Tue, 3 Aug 1999 15:22:37 +0000 (15:22 +0000)
committerian <ian>
Tue, 3 Aug 1999 15:22:37 +0000 (15:22 +0000)
Ralf Baechle <ralf@uni-koblenz.de>.

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

index 385d7ab..77c0665 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 c9b0632..3df6adf 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