aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-10-18 19:33:03 +0000
committerIan Lance Taylor <ian@airs.com>1996-10-18 19:33:03 +0000
commit538034cfb5a933a3194c03781574a709afbd48c9 (patch)
tree6c2d2e74e9922dba561c1a51f4d1f07152bf8779 /gas
parentb502879f75ff18608927d2fe31ac88b785abcf52 (diff)
downloadfsf-binutils-gdb-538034cfb5a933a3194c03781574a709afbd48c9.zip
fsf-binutils-gdb-538034cfb5a933a3194c03781574a709afbd48c9.tar.gz
fsf-binutils-gdb-538034cfb5a933a3194c03781574a709afbd48c9.tar.bz2
* config/tc-mips.c (mips_ip): Accept an odd floating point
register with l.s or s.s.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-mips.c10
2 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9447c47..5c69eac 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
Fri Oct 18 14:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
+ * config/tc-mips.c (mips_ip): Accept an odd floating point
+ register with l.s or s.s.
+
* config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
.type pseudo-op.
(obj_aout_type): New static function.
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 7c7182e..a20c4c0 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -5540,10 +5540,12 @@ mips_ip (str, ip)
if ((regno & 1) != 0
&& mips_isa < 3
- && ! (strcmp (str, "mtc1") == 0 ||
- strcmp (str, "mfc1") == 0 ||
- strcmp (str, "lwc1") == 0 ||
- strcmp (str, "swc1") == 0))
+ && ! (strcmp (str, "mtc1") == 0
+ || strcmp (str, "mfc1") == 0
+ || strcmp (str, "lwc1") == 0
+ || strcmp (str, "swc1") == 0
+ || strcmp (str, "l.s") == 0
+ || strcmp (str, "s.s") == 0))
as_warn ("Float register should be even, was %d",
regno);