aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-19 19:13:30 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-19 19:13:30 +0000
commitce2ad89acab0c760dd90c51e7d7e00c1146d35e9 (patch)
tree82d796dec142ece71b018bb3fb2e8807096416fb
parent32090b8e4f645bb5c80e8ad9c38cdd21d5b7b7e0 (diff)
downloadgdb-ce2ad89acab0c760dd90c51e7d7e00c1146d35e9.zip
gdb-ce2ad89acab0c760dd90c51e7d7e00c1146d35e9.tar.gz
gdb-ce2ad89acab0c760dd90c51e7d7e00c1146d35e9.tar.bz2
* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
calculating opP->isiz; this permits the expression size to be determined as well, later on. Fixes PR 2911.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-m68k.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0ec3e13..765ea77 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
Mon Jul 19 14:30:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+ * config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
+ calculating opP->isiz; this permits the expression size to be
+ determined as well, later on.
+
* expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index f0d419b..aa36977 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -1159,12 +1159,10 @@ m68k_ip_op (str, opP)
case 'w':
case 'W':
opP->isiz = 2;
- strend -= 2;
break;
case 'l':
case 'L':
opP->isiz = 3;
- strend -= 2;
break;
}
}