aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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/config
parentb502879f75ff18608927d2fe31ac88b785abcf52 (diff)
downloadgdb-538034cfb5a933a3194c03781574a709afbd48c9.zip
gdb-538034cfb5a933a3194c03781574a709afbd48c9.tar.gz
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/config')
-rw-r--r--gas/config/tc-mips.c10
1 files changed, 6 insertions, 4 deletions
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);