aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-mips.c15
2 files changed, 13 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d1582ec..20a0812 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 14 15:02:19 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
+
Mon Jan 12 13:04:57 1998 Doug Evans <devans@seba.cygnus.com>
* cgen.c: #include setjmp.h. Clean up pass over `struct foo' usage.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 28ee593..e2bf296 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -6820,12 +6820,15 @@ mips_ip (str, ip)
else
ok = false;
- if (mips_4650 && (insn->pinfo & FP_D) != 0)
- ok = false;
- /* start-sanitize-r5900 */
- if (mips_5900 && (insn->pinfo & FP_D) != 0)
- ok = false;
- /* end-sanitize-r5900 */
+ if (insn->pinfo != INSN_MACRO)
+ {
+ if (mips_4650 && (insn->pinfo & FP_D) != 0)
+ ok = false;
+ /* start-sanitize-r5900 */
+ if (mips_5900 && (insn->pinfo & FP_D) != 0)
+ ok = false;
+ /* end-sanitize-r5900 */
+ }
if (! ok)
{