aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-03 15:22:38 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-03 15:22:38 +0000
commitf173e82ec8622b22435de85d78ae73a61533e9b8 (patch)
treea6a6a4c69c9bb8609c213382931c703098f7c67d
parent24eab124bdf83fefc1e086e88bdb9a6c5a6c2a54 (diff)
downloadfsf-binutils-gdb-f173e82ec8622b22435de85d78ae73a61533e9b8.zip
fsf-binutils-gdb-f173e82ec8622b22435de85d78ae73a61533e9b8.tar.gz
fsf-binutils-gdb-f173e82ec8622b22435de85d78ae73a61533e9b8.tar.bz2
* config/tc-mips.c (append_insn): Correct INSN_SYNC test. From
Ralf Baechle <ralf@uni-koblenz.de>.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 385d7ab..77c0665 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index c9b0632..3df6adf 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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